summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e8068a09b..74ff5c895 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -40,14 +40,14 @@ check-texinfo:
$(EGREP) '$(_W)NUL$(W_)' $(srcdir)/*.texi && fail=1; \
grep '\$$@"' $(srcdir)/*.texi && fail=1; \
grep -n '[^[:punct:]]@footnote' $(srcdir)/*.texi && fail=1; \
- grep -n filename $(srcdir)/*.texi|grep -vE 'setfilename|{filename}' \
+ grep -n filename $(srcdir)/*.texi|$(EGREP) -v 'setfilename|{filename}' \
&& fail=1; \
$(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 'builtins?' $(srcdir)/*.texi && fail=1; \
- grep -iwE 'path(name)?s?' $(srcdir)/*.texi \
- | grep -vE '@vindex PATH$$|@env{PATH}' && fail=1; \
+ $(EGREP) -iw 'builtins?' $(srcdir)/*.texi && fail=1; \
+ $(EGREP) -iw 'path(name)?s?' $(srcdir)/*.texi \
+ | $(EGREP) -v '@vindex PATH$$|@env{PATH}' && fail=1; \
exit $$fail
check: check-texinfo