build: fix make dependencies for test.1

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.
This commit is contained in:
Pádraig Brady
2015-03-07 01:59:02 +00:00
parent c18b296e83
commit 3c3b760c34

View 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)