1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

use a better test

This commit is contained in:
Jim Meyering
2002-05-27 21:38:21 +00:00
parent 924d623ac8
commit 0057fa16a4
+2 -1
View File
@@ -31,7 +31,8 @@ $(INFO_DEPS): $(EXTRA_DIST)
# List words/regexps here that should not appear in the texinfo documentation.
check-texinfo:
grep timezone $(srcdir)/*.texi && exit 1 || :
perl -ne '/\bPOSIX\b/i && !/\@acronym{POSIX}/ and print,exit 1' \
@PERL@ -ne \
'/\bPOSIX\b/ && !/\@acronym{POSIX}/ || /{posix}/ and print,exit 1' \
$(srcdir)/*.texi 2> /dev/null && : || exit 1
check: check-texinfo