summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-08 05:31:59 +0000
committerJim Meyering <jim@meyering.net>2006-07-08 05:31:59 +0000
commita56e9c5a4da91fdb8fa1729770d943416937f686 (patch)
tree6ca9dab239072fdff19dfa09bd73a5f5e41968f9 /doc
parent38fbc11f7b09b82840464a0a279da6d7096a9866 (diff)
downloadcoreutils-a56e9c5a4da91fdb8fa1729770d943416937f686.tar.xz
* Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/Makefile.am4
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 35660ff9d..390275043 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-08 Jim Meyering <jim@meyering.net>
+
+ * Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency.
+
2006-07-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* coreutils.texi: Fix some typos. Use `zeros' consistently (both
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b6be901d5..ac5b400bf 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -30,7 +30,8 @@ W_ = ([^A-Za-z0-9_]|$$)
# 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'.
+# Use `time zone', not `timezone'.
+# Use `zeros', not `zeroes' (nothing wrong with `zeroes'. just be consistent).
check-texinfo:
fail=0; \
grep timezone $(srcdir)/*.texi && fail=1; \
@@ -45,6 +46,7 @@ check-texinfo:
$(PERL) -e 1 2> /dev/null && { $(PERL) -ne \
'/\bPOSIX\b/ && !/\@acronym{POSIX}/ && !/^\* / || /{posix}/ and print,exit 1' \
$(srcdir)/*.texi 2> /dev/null || fail=1; }; \
+ $(EGREP) -i '$(_W)zeroes$(W_)' $(srcdir)/*.texi && fail=1; \
$(EGREP) -i '$(_W)builtins?$(W_)' $(srcdir)/*.texi && fail=1; \
$(EGREP) -i '$(_W)path(name)?s?$(W_)' $(srcdir)/*.texi \
| $(EGREP) -v '@vindex PATH$$|@env[{]PATH[}]' && fail=1; \