(check-texinfo): Redirect stderr of `grep -w' to
authorJim Meyering <jim@meyering.net>
Sun, 23 Sep 2001 07:44:01 +0000 (07:44 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 23 Sep 2001 07:44:01 +0000 (07:44 +0000)
/dev/null, so people with old versions of grep don't see the failure.

doc/Makefile.am

index 3526bf5..cbf9dce 100644 (file)
@@ -31,6 +31,6 @@ $(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 -w POSIX $(srcdir)/*.texi && exit 1 || :
+       grep -w POSIX $(srcdir)/*.texi 2> /dev/null && exit 1 || :
 
 check: check-texinfo