mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 18:26:32 +02:00
* Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user