From 0057fa16a41ca3ee9142afa07bf50fb8220f666c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 May 2002 21:38:21 +0000 Subject: use a better test --- doc/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index cf43a279d..eb0404ff1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -31,7 +31,8 @@ $(INFO_DEPS): $(EXTRA_DIST) # List words/regexps here that should not appear in the texinfo documentation. check-texinfo: grep timezone $(srcdir)/*.texi && exit 1 || : - perl -ne '/\bPOSIX\b/i && !/\@acronym{POSIX}/ and print,exit 1' \ + @PERL@ -ne \ + '/\bPOSIX\b/ && !/\@acronym{POSIX}/ || /{posix}/ and print,exit 1' \ $(srcdir)/*.texi 2> /dev/null && : || exit 1 check: check-texinfo -- cgit v1.2.3-70-g09d2