coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/17] build: use 'check-local' to extend the 'check' target


From: Stefano Lattarini
Subject: [PATCH 01/17] build: use 'check-local' to extend the 'check' target
Date: Sun, 2 Sep 2012 21:55:03 +0200

* tests/Makefile.am (check-local): Here, by making this depend
on 'vc_exe_in_TESTS' ...
(check): ... rather than this.  While the old usage worked, it
did so for an implementation detail rather than a documented
behaviour, so relying on that was riskier a "unclean".
* src/local.mk (check-local): Similarly, make this depend on
'check-README' and 'check-duplicate-no-install' ...
(check): ... rather than this.
---
 src/local.mk      | 2 +-
 tests/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/local.mk b/src/local.mk
index 218ea0f..5355c30 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 54f1e08..34e8c6c 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 =
-- 
1.7.12




reply via email to

[Prev in Thread] Current Thread [Next in Thread]