]> err.no Git - util-linux/commitdiff
sys-utils: correct setarch.8 manpage link creation. Closes: #453245
authorFrédéric Bothamy <frederic.bothamy@free.fr>
Wed, 28 Nov 2007 00:44:16 +0000 (17:44 -0700)
committerLaMont Jones <lamont@debian.org>
Wed, 28 Nov 2007 00:48:48 +0000 (17:48 -0700)
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@free.fr>
Signed-off-by: LaMont Jones <lamont@debian.org>
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 \