From: Jim Meyering Date: Tue, 7 Aug 2001 12:10:10 +0000 (+0000) Subject: (m4-check): New rule. X-Git-Tag: TEXTUTILS-2_0_15~478 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6258f69c2cf9215a9ae0bea1b7b1c8f44bb26d62;p=thirdparty%2Fcoreutils.git (m4-check): New rule. (local-check): Depend on it. --- diff --git a/Makefile.maint b/Makefile.maint index b9024c1842..8119cacaef 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.