]> 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:31:45 +0000 (10:31 +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 8c837e8f24dae1deed4c0ca33aa5f5cdaeb2fd89..96583a450ca0c2f7f8c677cf23996bb2435fe4fa 100644 (file)
@@ -76,10 +76,10 @@ man_MANS = $(RDEV_MAN_LINKS) $(SETARCH_MAN_LINKS)
 CLEANFILES = $(man_MANS)
 
 $(RDEV_MAN_LINKS): rdev.8
-       echo ".so rdev.8" > $@
+       echo ".so man8/rdev.8" > $@
 
 $(SETARCH_MAN_LINKS): setarch.8
-       echo ".so setarch.8" > $@
+       echo ".so man8/setarch.8" > $@
 
 install-exec-hook:
        for I in $(RDEV_LINKS); do \