* Makefile.am (maintainer-clean): Check for unescaped @ in manual.
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 24 Nov 2004 21:07:56 +0000 (21:07 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 24 Nov 2004 21:07:56 +0000 (21:07 +0000)
ChangeLog
Makefile.am
Makefile.in

index f9b13a9..3f87ad0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-24  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * Makefile.am (maintainer-clean): Check for unescaped @ in manual.
+
 2004-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * doc/automake.texi (Built sources example): Fix typo.
index 6bffc9f..b0f03e3 100644 (file)
@@ -262,6 +262,11 @@ maintainer-check: automake aclocal
          echo 'Do not use tabs in the manual.' 1>&2; \
          exit 1; \
        fi
+       @if grep -E '([^@]|^)@([         ]|$$)' $(srcdir)/doc/automake.texi; \
+       then \
+         echo 'Unescaped @.' 1>&2; \
+         exit 1; \
+       fi
 
 
 cvs-dist: maintainer-check
index b9af660..dc638d6 100644 (file)
@@ -770,6 +770,11 @@ maintainer-check: automake aclocal
          echo 'Do not use tabs in the manual.' 1>&2; \
          exit 1; \
        fi
+       @if grep -E '([^@]|^)@([         ]|$$)' $(srcdir)/doc/automake.texi; \
+       then \
+         echo 'Unescaped @.' 1>&2; \
+         exit 1; \
+       fi
 
 cvs-dist: maintainer-check
        @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \