From a69e54cfdf7e5d8c2c3fe315ded649272d7e8711 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 26 Jul 2016 20:58:08 +0200 Subject: 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 in https://build.opensuse.org/request/show/415172 --- man/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man') diff --git a/man/local.mk b/man/local.mk index f41d96991..7b72d3be7 100644 --- a/man/local.mk +++ b/man/local.mk @@ -56,10 +56,10 @@ if SINGLE_BINARY mandeps += src/coreutils$(EXEEXT) else # Most prog.1 man pages depend on src/prog. List the exceptions: -man/arch.1: src/uname$(EXEEXT) man/install.1: src/ginstall$(EXEEXT) man/test.1: src/[$(EXEEXT) +man/arch.1: src/arch$(EXEEXT) man/base32.1: src/base32$(EXEEXT) man/base64.1: src/base64$(EXEEXT) man/basename.1: src/basename$(EXEEXT) -- cgit v1.2.3-70-g09d2