summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index b9024c184..8119cacae 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -33,6 +33,11 @@ changelog-check:
exit 1; \
fi
+m4-check:
+ @grep 'AC_DEFUN([^[]' m4/*.m4 \
+ && { echo 'Makefile.maint: quote the first arg to AC_DEFUN' 1>&2; \
+ exit 1; } || :
+
# Verify that all source files using _() are listed in po/POTFILES.in.
po-check:
if test -f po/POTFILES.in; then \
@@ -57,7 +62,7 @@ writable-files:
test "$$fail" && exit 1 || :
# Checks that don't require cvs.
-local-check: changelog-check po-check writable-files check-copyright
+local-check: changelog-check po-check writable-files check-copyright m4-check
# Sanity checks with the CVS repository.