summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-02 10:20:58 +0000
committerJim Meyering <jim@meyering.net>2003-04-02 10:20:58 +0000
commit8c14c2f53fa30559ce86bfdbbba895fc5ff6c9e8 (patch)
tree81c84b0aee2a6359d38da99db6e9205b69ed8dd8 /doc
parent33561fa3e4b925974ec6984d5d96cb8c4b2176a0 (diff)
downloadcoreutils-8c14c2f53fa30559ce86bfdbbba895fc5ff6c9e8.tar.xz
.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index b070f5bc8..0aa592ecb 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -443,11 +443,13 @@ $(INFO_DEPS): $(EXTRA_DIST)
# List words/regexps here that should not appear in the texinfo documentation.
check-texinfo:
- grep timezone $(srcdir)/*.texi && exit 1 || :
- grep '\$$@"' $(srcdir)/*.texi && exit 1 || :
- $(PERL) -ne \
+ fail=0; \
+ grep timezone $(srcdir)/*.texi && fail=1; \
+ grep '\$$@"' $(srcdir)/*.texi && fail=1; \
+ $(PERL) -e 1 && { $(PERL) -ne \
'/\bPOSIX\b/ && !/\@acronym{POSIX}/ && !/^\* / || /{posix}/ and print,exit 1' \
- $(srcdir)/*.texi 2> /dev/null && : || exit 1
+ $(srcdir)/*.texi 2> /dev/null || fail=1; }; \
+ exit $$fail
check: check-texinfo
# Tell versions [3.59,3.63) of GNU make to not export all variables.