]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: use 'check-local' to extend the 'check' target
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 2 Sep 2012 19:55:03 +0000 (21:55 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 5 Sep 2012 06:48:28 +0000 (08:48 +0200)
* 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.

src/local.mk
tests/Makefile.am

index 218ea0f17689bbdf252c89f1479a376764f00723..5355c30c9ae302abe22a539d92ddb5b2a53dcbd2 100644 (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)
index 54f1e08f873ee6a6ba2a9ae395def3ac13ae85e6..34e8c6c81661d3936fbf1c544328319ccbaeaa31 100644 (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 =