From: Stefano Lattarini Date: Sun, 2 Sep 2012 19:55:03 +0000 (+0200) Subject: build: use 'check-local' to extend the 'check' target X-Git-Tag: v8.20~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd97af8ee09282075d282ca101f04aa4530440f5;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/local.mk b/src/local.mk index 218ea0f176..5355c30c9a 100644 --- a/src/local.mk +++ b/src/local.mk @@ -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) diff --git a/tests/Makefile.am b/tests/Makefile.am index 54f1e08f87..34e8c6c816 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 =