Subject: a few problems in -current 1994-12-28
To: None <current-users@NetBSD.ORG>
From: Alan Barrett <barrett@daisy.ee.und.ac.za>
List: current-users
Date: 12/28/1994 20:48:53
usr.bin/true/true.sh contains "echo 0" where it should have "exit 0".

usr.bin/false/false.sh contains "echo 1" where it should have "exit 1".

The rules for "maninstall" in share/mk/bsd.man.mk attempt to do the
MLINKS stuff before the MANALL stuff, but the MLINKS stuff should really
be done after the MANALL stuff.  I made the following change to my copy
of bsd.man.mk:

Index: share/mk/bsd.man.mk
--- /usr/src/share/mk/bsd.man.mk	Fri Dec 23 13:22:00 1994
+++ /usr/share/mk/bsd.man.mk	Wed Dec 28 20:31:05 1994
@@ -22,7 +22,8 @@
 
 MINSTALL=	install ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
 
-maninstall:
+maninstall: manmaininstall
+manmaininstall:
 .if defined(MANALL)
 	@for page in ${MANALL}; do \
 		dir=${DESTDIR}${MANDIR}`expr $$page : '.*\.cat\([1-8]\)'`; \
@@ -33,7 +34,7 @@
 .endif
 
 .if defined(MLINKS) && !empty(MLINKS)
-maninstall: manlinkinstall
+maninstall: manmaininstall manlinkinstall
 manlinkinstall:
 	@set ${MLINKS}; \
 	while test $$# -ge 2; do \

--apb (Alan Barrett)