nestlabs / nlbuild-autotools

The Nest Labs Build - GNU Autotools (nlbuild-autotools) provides a customized, turnkey build system framework, based on GNU autotools, for standalone Nest Labs (or other) software packages that need to support not only building on and targeting against standalone build host systems but also embedded target systems using GCC-based or -compatible toolchains.
Apache License 2.0
4 stars 12 forks source link

The coverage-recursive Target Is Not Included in RECURSIVE_TARGETS #50

Closed gerickson closed 4 years ago

gerickson commented 4 years ago

There is an issue when a project user issues make coverage in the same way they might issue make check in that make coverage does not respect a dependency rule such as:

$(RECURSIVE_TARGETS): $(lib_LIBRARIES)

where as make check does respect such a dependency rule. This turns out to be an issue because 'check' and 'check-recursive' are autotools-native targets and are automatically included in RECURSIVE_TARGETS where as 'coverage' and 'coverage-recursive' are nlbuild-autotools-added targets.

Proposed Resolution

Add 'coverage-recursive' to RECURSIVE_TARGETS in automake/pre/macros/coverage.am.