summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-07 14:44:02 +0000
committerJim Meyering <jim@meyering.net>2002-06-07 14:44:02 +0000
commitb2816db2074e472409fa2246a6b011682fa716dd (patch)
treee0a3f40fa56980987381be0dbcc314e9bcb8f427
parent2e6f8bf01e3f9ce9bc30658145d04c99e1aef821 (diff)
downloadcoreutils-b2816db2074e472409fa2246a6b011682fa716dd.tar.xz
.
-rw-r--r--doc/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 4415650cc..7061cf524 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -390,7 +390,9 @@ $(INFO_DEPS): $(EXTRA_DIST)
# List words/regexps here that should not appear in the texinfo documentation.
check-texinfo:
grep timezone $(srcdir)/*.texi && exit 1 || :
- grep -w POSIX $(srcdir)/*.texi 2> /dev/null && exit 1 || :
+ @PERL@ -ne \
+ '/\bPOSIX\b/ && !/\@acronym{POSIX}/ || /{posix}/ and print,exit 1' \
+ $(srcdir)/*.texi 2> /dev/null && : || exit 1
check: check-texinfo
# Tell versions [3.59,3.63) of GNU make to not export all variables.