]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 08:06:58 +0000 (08:06 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 6 Nov 2003 08:06:58 +0000 (08:06 +0000)
man/Makefile.in

index e0e24ea0b5af4b5b15067124f1326375da0a2e68..3c0f23a553f6e2431b7d082ce7540c8cf6dad24b 100644 (file)
@@ -506,13 +506,14 @@ check-x-vs-1:
 
 .PHONY: check-programs-vs-x
 check-programs-vs-x:
-       test "$(programs)" && : || exit 1
-       for p in `$(programs)`; do                      \
+       status=0;                                       \
+       for p in dummy `$(programs)`; do                \
+         test $$p = dummy && continue;                 \
          test $$p = ginstall && p=install || : ;       \
          test -f $(srcdir)/$$p.x                       \
-           || { echo missing $$p.x 1>&2; missing=1; }; \
+           || { echo missing $$p.x 1>&2; status=1; };  \
        done;                                           \
-       test "$$missing" = 1 && exit 1 || :
+       exit $$status
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: