summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index f3bbf9afa..2987272fb 100644
--- a/maint.mk
+++ b/maint.mk
@@ -551,7 +551,8 @@ check-AUTHORS:
# not @...@ in Makefile.am, now that we can rely on automake
# to emit a definition for each substituted variable.
makefile-check:
- @grep -nE '@[A-Z_0-9]+@' `find . -name Makefile.am` \
+ @grep -nE '@[A-Z_0-9]+@' \
+ $$($(VC_LIST_EXCEPT) | grep -E '(^|/)Makefile\.am$$') \
&& { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || :
news-date-check: NEWS