summaryrefslogtreecommitdiff
path: root/syntax-checks.mk
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-11 21:01:39 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-11 21:01:41 +0200
commit8036e5a14904b1a0ea97be52cc83a33c9955f3fb (patch)
tree1f8ba4a07649d4bdcbdcb1a57666fb339d4a4ee3 /syntax-checks.mk
parentb35dca6bf9910b3e7ced1ce485772c3336255c24 (diff)
downloadautomake-8036e5a14904b1a0ea97be52cc83a33c9955f3fb.tar.gz
maintcheck: avoid yet more spurious failures (2)
Some maintainer checks were too greedy in processing 'Makefile.am' files, looking for them even in temporary directories left behind by the test cases, thus causing occasional spurious failures. * syntax-checks.mk (ams): Ignore 'Makefile.am' files in the temporary test directories. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'syntax-checks.mk')
-rw-r--r--syntax-checks.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax-checks.mk b/syntax-checks.mk
index 77bb6eb21..3a6d9dd9f 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -33,7 +33,7 @@ xtests := $(shell \
xdefs = $(srcdir)/defs $(srcdir)/defs-static.in
-ams := $(shell find $(srcdir) -name '*.am')
+ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -a -name '*.am')
# Some simple checks, and then ordinary check. These are only really
# guaranteed to work on my machine.