diff options
-rw-r--r-- | doc/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
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 |