build: use 'check-local' to extend the 'check' target

* tests/Makefile.am (check-local): Here, by making this depend
on 'vc_exe_in_TESTS' ...
(check): ... rather than making this depend on them.  While the old
usage worked, it relied on an implementation detail rather than on
documented behavior.
* src/local.mk (check-local): Similarly, make this depend on
'check-README' and 'check-duplicate-no-install' ...
(check): ... rather than on this.
This commit is contained in:
Stefano Lattarini authored and Jim Meyering committed 2012-09-05 08:48:28 +02:00
1 parent d263b0e252
commit cd97af8ee0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ pm = progs-makefile
pr = progs-readme
# Ensure that the list of programs in README matches the list
# of programs we can build.
check: check-README check-duplicate-no-install
check-local: check-README check-duplicate-no-install
.PHONY: check-README
check-README:
$(AM_V_GEN)rm -rf $(pr) $(pm)
+1 -1
View File
@@ -34,7 +34,7 @@ vc_exe_in_TESTS: Makefile
} | sort | uniq -u | grep . && exit 1 ||:; \
else :; fi
check: vc_exe_in_TESTS
check-local: vc_exe_in_TESTS
.PHONY: vc_exe_in_TESTS
CLEANFILES =