From ab0ab21b2e433cf8889e30ae3975ec9250c4986c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 May 2002 20:01:03 +0000 Subject: [PATCH] (check-texinfo): Adapt to reflect that now we use @acronym{POSIX}. --- doc/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.7.4