summaryrefslogtreecommitdiff
path: root/syntax-checks.mk
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-11 19:18:21 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-11 20:24:51 +0200
commitee6eb9fa97eab1c826a2501fad564f5b28bc3cb9 (patch)
treefa1c2cc6a50488f1b5673cd263cec77cec14bd2b /syntax-checks.mk
parent66cccef3098d034f6c1b271f3c2e7399c5ac72d4 (diff)
downloadautomake-ee6eb9fa97eab1c826a2501fad564f5b28bc3cb9.tar.gz
maintcheck: fix spurious failures
* syntax-check.mk (sc_mkinstalldirs): Now the 'mkinstalldirs' is listed in the top-level 'Makefile.am', not in 'lib/Makefile.am'; adjust the "whitelist" accordingly. (sc_ensure_testsuite_has_run): The 'test-suite.log' file created by "make check" is now placed in the top-level directory, not in the 't/' subdirectory. Adjust by using '$(TEST_SUITE_LOG)' instead of an hand-crafted path for the 'test-suite.log' file. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'syntax-checks.mk')
-rw-r--r--syntax-checks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax-checks.mk b/syntax-checks.mk
index 11b2225cf..77bb6eb21 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -206,7 +206,7 @@ sc_no_for_variable_in_macro:
sc_mkinstalldirs:
@if grep -n 'mkinstalldirs' $(ams) \
| grep -F -v '$$(mkinstalldirs)' \
- | grep -v '^\./lib/Makefile.am:[0-9][0-9]*: *mkinstalldirs \\$$'; \
+ | grep -v '^\./Makefile.am:[0-9][0-9]*: *lib/mkinstalldirs \\$$'; \
then \
echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
exit 1; \
@@ -500,7 +500,7 @@ sc_tests_no_configure_in:
## AM_RECURSIVE_TARGETS. Suggest keeping test directories around for
## greppability of the Makefile.in files.
sc_ensure_testsuite_has_run:
- @if test ! -f t/test-suite.log; then \
+ @if test ! -f '$(TEST_SUITE_LOG)'; then \
echo 'Run "env keep_testdirs=yes make check" before' \
'running "make maintainer-check"' >&2; \
exit 1; \