summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-07-02 15:13:42 +0000
committerJim Meyering <jim@meyering.net>2004-07-02 15:13:42 +0000
commitcb2e51e38af41ca406df382c9401102997c8b048 (patch)
tree2982cecb20d6ce4cd6487d3612961127b6cd59b0 /doc/Makefile.am
parent6ca52b93dcf0104c5500c8b828a275cdc321ba25 (diff)
downloadcoreutils-cb2e51e38af41ca406df382c9401102997c8b048.tar.xz
(check-texinfo): Fail if a @footnote directive follows non-punctuation.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7a63a2f86..04b63bd1a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,6 +34,7 @@ check-texinfo:
grep non-zero $(srcdir)/*.texi && fail=1; \
grep -w NUL $(srcdir)/*.texi && fail=1; \
grep '\$$@"' $(srcdir)/*.texi && fail=1; \
+ grep -n '[^[:punct:]]@footnote' $(srcdir)/*.texi && fail=1; \
grep -n filename $(srcdir)/*.texi|grep -vE 'setfilename|{filename}' \
&& fail=1; \
$(PERL) -e 1 2> /dev/null && { $(PERL) -ne \