coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: fix dependency of man/arch.1


From: Bernhard Voelker
Subject: [PATCH] maint: fix dependency of man/arch.1
Date: Tue, 26 Jul 2016 20:58:08 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]