[PATCH] sys-utils: correct setarch.8 manpage link creation. Closes: #453245

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

 



From: Frédéric Bothamy <frederic.bothamy@xxxxxxx>

At least on Debian, .so commands are relative to the man directory
(e.g., /usr/share/man), not to the subdirectory:
    % man i386
    man: can't open /usr/share/man/setarch.8: No such file or directory
    No manual entry for i386

See also http://bugs.debian.org/453245

Signed-off-by: Frédéric Bothamy <frederic.bothamy@xxxxxxx>
Signed-off-by: LaMont Jones <lamont@xxxxxxxxxx>
---
 sys-utils/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am
index 4ef94d4..ccfcd9d 100644
--- a/sys-utils/Makefile.am
+++ b/sys-utils/Makefile.am
@@ -74,7 +74,7 @@ man_MANS += $(SETARCH_MAN_LINKS)
 CLEANFILES=$(SETARCH_MAN_LINKS)
 
 $(SETARCH_MAN_LINKS): setarch.8
-	echo ".so setarch.8" > $@
+	echo ".so man8/setarch.8" > $@
 
 install-exec-hook:
 	for I in $(RDEV_LINKS); do \
-- 
1.5.3.6

-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux