summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-19 13:43:50 +0000
committerJim Meyering <jim@meyering.net>2005-06-19 13:43:50 +0000
commit15b998e0d05c15d6869fed9d404687a8c24440c0 (patch)
treeebac81b503063ec4118251f38fdf0c78dddfc7f2
parente4bd8ce5ab2eb20d9b925eebd4a179fa390922c1 (diff)
downloadcoreutils-15b998e0d05c15d6869fed9d404687a8c24440c0.tar.xz
Allow the two existing types of uses of PATH:
@vindex PATH @env{PATH}
-rw-r--r--doc/Makefile.am4
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