]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(m4-check): New rule.
authorJim Meyering <jim@meyering.net>
Tue, 7 Aug 2001 12:10:10 +0000 (12:10 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 7 Aug 2001 12:10:10 +0000 (12:10 +0000)
(local-check): Depend on it.

Makefile.maint

index b9024c1842aad6e1ad6b60691f950d8be41748c6..8119cacaef927133becfa84e582565edfee1a60e 100644 (file)
@@ -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.