coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: fix make dependencies for test.1


From: Pádraig Brady
Subject: [PATCH] build: fix make dependencies for test.1
Date: Sat, 7 Mar 2015 02:13:07 +0000

In certain parallel build situations this would give the error:
  help2man: can't get `--help' info from man/test.td/[
  Makefile:14189: recipe for target 'man/test.1' failed

* man/local.mk (test.1): Depend on `[` rather than `test`,
as `test --help` outputs nothing.  Also move dir.1 and vdir.1
back to the main list, as they're no more exceptions than
sha1sum etc.
---
 man/local.mk | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/man/local.mk b/man/local.mk
index dec8133..45bda93 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -56,12 +56,9 @@ if SINGLE_BINARY
 mandeps += src/coreutils$(EXEEXT)
 else
 # Most prog.1 man pages depend on src/prog.  List the exceptions:
-# Note that dir and vdir are exceptions only if you consider the name
-# of the .c file upon which they depend: ls.c.
 man/arch.1:      src/uname$(EXEEXT)
-man/dir.1:       src/dir$(EXEEXT)
 man/install.1:   src/ginstall$(EXEEXT)
-man/vdir.1:      src/vdir$(EXEEXT)
+man/test.1:      src/[$(EXEEXT)
 
 man/base64.1:    src/base64$(EXEEXT)
 man/basename.1:  src/basename$(EXEEXT)
@@ -80,6 +77,7 @@ man/cut.1:       src/cut$(EXEEXT)
 man/date.1:      src/date$(EXEEXT)
 man/dd.1:        src/dd$(EXEEXT)
 man/df.1:        src/df$(EXEEXT)
+man/dir.1:       src/dir$(EXEEXT)
 man/dircolors.1: src/dircolors$(EXEEXT)
 man/dirname.1:   src/dirname$(EXEEXT)
 man/du.1:        src/du$(EXEEXT)
@@ -146,7 +144,6 @@ man/sync.1:      src/sync$(EXEEXT)
 man/tac.1:       src/tac$(EXEEXT)
 man/tail.1:      src/tail$(EXEEXT)
 man/tee.1:       src/tee$(EXEEXT)
-man/test.1:      src/test$(EXEEXT)
 man/timeout.1:   src/timeout$(EXEEXT)
 man/touch.1:     src/touch$(EXEEXT)
 man/tr.1:        src/tr$(EXEEXT)
@@ -160,6 +157,7 @@ man/uniq.1:      src/uniq$(EXEEXT)
 man/unlink.1:    src/unlink$(EXEEXT)
 man/uptime.1:    src/uptime$(EXEEXT)
 man/users.1:     src/users$(EXEEXT)
+man/vdir.1:      src/vdir$(EXEEXT)
 man/wc.1:        src/wc$(EXEEXT)
 man/who.1:       src/who$(EXEEXT)
 man/whoami.1:    src/whoami$(EXEEXT)
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]