]> err.no Git - util-linux/commitdiff
sys-utils: correct setarch.8 manpage link creation
authorFrédéric Bothamy <frederic.bothamy@free.fr>
Sun, 13 Jan 2008 05:35:51 +0000 (22:35 -0700)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Jan 2008 09:35:46 +0000 (10:35 +0100)
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

Addresses-Debian-Bug: #453245
Signed-off-by: Frédéric Bothamy <frederic.bothamy@free.fr>
Signed-off-by: LaMont Jones <lamont@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/Makefile.am

index 4ef94d4d37ece82603f43546bcec1597983d37cb..ccfcd9d833cb822a55c9970f6210c34907a2e7e1 100644 (file)
@@ -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 \