From: Jim Meyering Date: Mon, 27 May 2002 20:01:03 +0000 (+0000) Subject: (check-texinfo): Adapt to reflect that now we use @acronym{POSIX}. X-Git-Tag: FILEUTILS-4_1_9~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab0ab21b2e433cf8889e30ae3975ec9250c4986c;p=platform%2Fupstream%2Fcoreutils.git (check-texinfo): Adapt to reflect that now we use @acronym{POSIX}. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index cbf9dce..cf43a27 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