]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maintainer-check: fix definition of $(ams) again
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Apr 2012 13:08:37 +0000 (15:08 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Apr 2012 13:08:37 +0000 (15:08 +0200)
* syntax-checks.mk (ams): The previous change 'v1.11b-36-g127adfb' solved
one problem in the definition of this variable, but also caused it contain
the names of all the left-behind 't/*.dir' temporary test directories.
Fix that.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
syntax-checks.mk

index 5d528f8a8f97fc4bbb1d399e74aa863d3fa840bc..4d5ab6f5b815d802df796a58acdbe06a5c5dee50 100644 (file)
@@ -33,7 +33,7 @@ xtests := $(shell \
 
 xdefs = $(srcdir)/defs $(srcdir)/defs-static.in
 
-ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -o -name '*.am')
+ams := $(shell find $(srcdir) -name '*.dir' -prune -o -name '*.am' -print)
 
 # Some simple checks, and then ordinary check.  These are only really
 # guaranteed to work on my machine.