summaryrefslogtreecommitdiff
path: root/share/mk/bsd.prog.mk
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-15 07:12:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-15 07:12:19 +0000
commit243432fb31fbfb39243f355e86a3ab5787ecce18 (patch)
treec6ea669b56950bdcf7c2e4c4520d9c4d69b5c654 /share/mk/bsd.prog.mk
parentfb8d36e9a4e52fda0396db43ab2679663a22e32a (diff)
uniformize LINKS, so that it gets handled in realinstall all the time
(and the same way). okay otto@
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 1c97ce0abd0..ecfa7e0cbb1 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.44 2005/04/15 17:18:57 espie Exp $
+# $OpenBSD: bsd.prog.mk,v 1.45 2005/09/15 07:12:18 espie Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -124,9 +124,6 @@ realinstall:
${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \
-m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/${PROG}
.endif
-.endif
-
-install: maninstall _SUBDIRUSE
.if defined(LINKS) && !empty(LINKS)
. for lnk file in ${LINKS}
@l=${DESTDIR}${lnk}; \
@@ -135,6 +132,9 @@ install: maninstall _SUBDIRUSE
rm -f $$t; ln $$l $$t
. endfor
.endif
+.endif
+
+install: maninstall _SUBDIRUSE
maninstall: afterinstall
afterinstall: realinstall