(check-texinfo): Adapt to reflect that now we use @acronym{POSIX}.
authorJim Meyering <jim@meyering.net>
Mon, 27 May 2002 20:01:03 +0000 (20:01 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 27 May 2002 20:01:03 +0000 (20:01 +0000)
doc/Makefile.am

index cbf9dce..cf43a27 100644 (file)
@@ -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