Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
On 26/07/16 19:58, Bernhard Voelker wrote:
> 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 <address@hidden> in
>https://build.opensuse.org/request/show/415172
> ---
> man/local.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/local.mk b/man/local.mk
> index f41d969..7b72d3b 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)
+1 thanks!