diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-24 15:12:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-24 15:12:11 +0000 |
commit | 692ffb1ec44ba38ef1a3e2468d30a2482642852f (patch) | |
tree | c2239ea5b499808d2fa93fc66ac08908ae85c21d /doc | |
parent | f358d24e329cfda1a8d5264699202a6685e66edb (diff) | |
download | coreutils-692ffb1ec44ba38ef1a3e2468d30a2482642852f.tar.xz |
(check-texinfo): Add a check to ensure future
consistency in using @sc{nul}, not `NUL'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index a870d1e5f..ad8e92b20 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -25,10 +25,13 @@ $(DVIS): $(EXTRA_DIST) $(INFO_DEPS): $(EXTRA_DIST) # List words/regexps here that should not appear in the texinfo documentation. +# E.g., use @sc{nul}, not `NUL' +# and use `time zone', not `timezone'. check-texinfo: fail=0; \ grep timezone $(srcdir)/*.texi && fail=1; \ grep non-zero $(srcdir)/*.texi && fail=1; \ + grep -w NUL $(srcdir)/*.texi && fail=1; \ grep '\$$@"' $(srcdir)/*.texi && fail=1; \ $(PERL) -e 1 2> /dev/null && { $(PERL) -ne \ '/\bPOSIX\b/ && !/\@acronym{POSIX}/ && !/^\* / || /{posix}/ and print,exit 1' \ |