diff options
author | Michael Pratt <[email protected]> | 2024-11-24 19:03:58 +0000 |
---|---|---|
committer | Aaron Merey <[email protected]> | 2025-01-10 11:01:00 -0500 |
commit | c79c1d4d1d2995aefeb0119868b19c08d3184edb (patch) | |
tree | ae239701dbb48a93e3f7a474f17d8de1fb36ad53 /tests | |
parent | b43943afba2026dcb1950d43ada000a4c8fd0793 (diff) |
Consolidate list of custom phony targets
Having a target defined as phony within a condition
while another target is always defined as phony
causes an automake warning:
Makefile.am:67: warning: .PHONY was already defined in condition TRUE, which includes condition GCOV ...
config/eu.am:141: ... '.PHONY' previously defined here
Makefile.am:21: 'config/eu.am' included from here
tests/Makefile.am:895: warning: .PHONY was already defined in condition TRUE, which includes condition GCOV ...
config/eu.am:141: ... '.PHONY' previously defined here
tests/Makefile.am:19: 'config/eu.am' included from here
Instead, list all the custom targets that are phony
in the common definitions in the eu.am file.
Since it is all related to coverage at this moment,
the list can be grouped as it is instead of moved or split.
* Makefile.am: remove .PHONY list in conditional
* config/eu.am: add coverage target to .PHONY list
* tests/Makefile.am: remove .PHONY list in conditional
Signed-off-by: Michael Pratt <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 44cbb825..8f087798 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -892,7 +892,6 @@ CLEANFILES = $(BUILT_SOURCES) if GCOV check: check-am coverage -.PHONY: coverage coverage: -$(srcdir)/coverage.sh endif |