From: Jim Meyering Date: Fri, 2 Jul 2004 15:13:42 +0000 (+0000) Subject: (check-texinfo): Fail if a @footnote directive follows non-punctuation. X-Git-Tag: v5.3.0~1185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb2e51e38af41ca406df382c9401102997c8b048;p=thirdparty%2Fcoreutils.git (check-texinfo): Fail if a @footnote directive follows non-punctuation. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 7a63a2f86d..04b63bd1a2 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 \