Subject: bin/8903: Linked manual pages dose not installed correctly with UPDATE=yes.
To: None <gnats-bugs@gnats.netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 11/28/1999 07:45:48
>Number: 8903
>Category: bin
>Synopsis: Linked manual pages dose not installed correctly with UPDATE=yes.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 28 07:45:00 1999
>Last-Modified:
>Originator: Takahiro Kambe
>Organization:
>Release: NetBSD-current 1999/11/26
>Environment:
System: NetBSD land.sky.yamashina.kyoto.jp 1.4P NetBSD 1.4P (LAND) #136: Wed Nov 24 11:53:06 JST 1999 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
Linked manual pages dose not installed correctly with UPDATE=yes in
/etc/mk.conf.
>How-To-Repeat:
Add UPDATE=yes in /etc/mk.conf, and install some manual pages which
have links by MLINKS in a Makefile.
>Fix:
Apply the patch bellow. It is not harmfull re-link linked manual
pages.
--- share/man/bsd.man.mk.~1~ Fri Sep 17 02:18:18 1999
+++ share/man/bsd.man.mk Mon Nov 29 00:34:22 1999
@@ -119,10 +119,7 @@
shift; \
dir=${DESTDIR}${MANDIR}/cat$${name##*.}; \
t=$${dir}${MANSUBDIR}/$${name%.*}.0${MCOMPRESSSUFFIX}; \
- if [ -z "${UPDATE}" -o ! -f $$t ]; then \
- echo $$t -\> $$l; \
- ln -f $$l $$t; \
- fi; \
+ echo $$t -\> $$l; ln -f $$l $$t; \
done
.endif
.else
@@ -141,9 +138,7 @@
shift; \
dir=${DESTDIR}${MANDIR}/man$${name##*.}; \
t=$${dir}${MANSUBDIR}/$${name}${MCOMPRESSSUFFIX}; \
- if [ -z "${UPDATE}" -o ! -f $$t ]; then \
- echo $$t -\> $$l; \
- ln -f $$l $$t; \
+ echo $$t -\> $$l; ln -f $$l $$t; \
fi; \
done
.endif
>Audit-Trail:
>Unformatted: