]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: fix dependency of man/arch.1
authorBernhard Voelker <mail@bernhard-voelker.de>
Tue, 26 Jul 2016 18:58:08 +0000 (20:58 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Wed, 27 Jul 2016 05:11:20 +0000 (07:11 +0200)
commita69e54cfdf7e5d8c2c3fe315ded649272d7e8711
tree569828e2fae9bac0b81ffa542ac135f21152c663
parent0f9fc7b3b9aee1d001ca60de1125e6e714e70ac7
maint: fix dependency of man/arch.1

The following is a reproducer for the wrong dependency:

  $ ./configure --enable-install-program=arch
  $ make
  $ rm -f src/arch man/arch.1
  $ make man/arch.1
    GEN      man/arch.1
  help2man: can't get `--help' info from man/arch.td/arch
  Try `--no-discard-stderr' if option outputs to stderr
  Makefile:14378: recipe for target 'man/arch.1' failed
  make: *** [man/arch.1] Error 127

* man/local.mk (man/arch.1): Change to depend on src/arch rather than
src/uname: while the arch binary depends on uname.c and uname-arch.c,
its man page depends on the arch binary.

Reported downstream by Rodrigues Goldwyn <rgoldwyn@suse.com> in
https://build.opensuse.org/request/show/415172
man/local.mk