summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-11-24 21:07:56 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-11-24 21:07:56 +0000
commitb6520e82906bd93492c1a4eaa7996caa347b1137 (patch)
treeca908963ab5bf36439fda1e41392ddfa6c33de9a
parentc05c0c90c2dfec183fd7dc10fb2ec5a3e2c0c2e5 (diff)
downloadautomake-b6520e82906bd93492c1a4eaa7996caa347b1137.tar.gz
* Makefile.am (maintainer-clean): Check for unescaped @ in manual.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am5
-rw-r--r--Makefile.in5
3 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f9b13a96d..3f87ad078 100644
--- 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.
diff --git a/Makefile.am b/Makefile.am
index 6bffc9f05..b0f03e336 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/Makefile.in b/Makefile.in
index b9af660ac..dc638d610 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 \