From 15b998e0d05c15d6869fed9d404687a8c24440c0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 19 Jun 2005 13:43:50 +0000 Subject: Allow the two existing types of uses of PATH: @vindex PATH @env{PATH} --- doc/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 077483535..e8068a09b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -45,7 +45,9 @@ check-texinfo: $(PERL) -e 1 2> /dev/null && { $(PERL) -ne \ '/\bPOSIX\b/ && !/\@acronym{POSIX}/ && !/^\* / || /{posix}/ and print,exit 1' \ $(srcdir)/*.texi 2> /dev/null || fail=1; }; \ - grep -iwE '(path(name)?|builtin)s?' $(srcdir)/*.texi && fail=1; \ + grep -iwE 'builtins?' $(srcdir)/*.texi && fail=1; \ + grep -iwE 'path(name)?s?' $(srcdir)/*.texi \ + | grep -vE '@vindex PATH$$|@env{PATH}' && fail=1; \ exit $$fail check: check-texinfo -- cgit v1.2.3-70-g09d2