From b82604d15f21101608baf50e91b575acd12e853c Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 25 Apr 1993 05:21:08 +0000 Subject: [PATCH] Add afterinstall and make maninstall not lose if bsd.man.mk not included (i.e. NOMAN set). --- share/mk/bsd.lib.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index df7ff17fdd5e..905bea335b87 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -116,7 +116,7 @@ beforeinstall: fi .endif -realinstall: beforeinstall +realinstall: ranlib lib${LIB}.a install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} lib${LIB}.a \ ${DESTDIR}${LIBDIR} @@ -140,8 +140,10 @@ realinstall: beforeinstall done; true .endif -install: afterinstall -afterinstall: realinstall maninstall +install: maninstall +maninstall: afterinstall +afterinstall: realinstall +realinstall: beforeinstall .endif .if !target(lint)