]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: fix make dependencies for test.1
authorPádraig Brady <P@draigBrady.com>
Sat, 7 Mar 2015 01:59:02 +0000 (01:59 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 7 Mar 2015 02:09:37 +0000 (02:09 +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

index dec813341fe262219740d27a4611e26251d4ba60..45bda93e1bd7490455a4e84ba0e91c237031bf61 100644 (file)
@@ -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)