summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-05-27 20:01:03 +0000
committerJim Meyering <jim@meyering.net>2002-05-27 20:01:03 +0000
commitab0ab21b2e433cf8889e30ae3975ec9250c4986c (patch)
tree9932e2f9601daaf238d8de3de5bb148c46effba8 /doc/Makefile.am
parent625d533476195ffa0ddb5547d1963dff3f1a2c26 (diff)
downloadcoreutils-ab0ab21b2e433cf8889e30ae3975ec9250c4986c.tar.xz
(check-texinfo): Adapt to reflect that now we use @acronym{POSIX}.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index cbf9dceda..cf43a279d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -31,6 +31,7 @@ $(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/i && !/\@acronym{POSIX}/ and print,exit 1' \
+ $(srcdir)/*.texi 2> /dev/null && : || exit 1
check: check-texinfo