summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-18 11:11:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-18 11:11:08 +0000
commit8aee2548a61a910494bdbd95daa43472c5a022cf (patch)
tree6542b8538a8ca6d2e3ebdef0367c670e9c6e0d18 /share/mk
parentc590088de5c146a52a4a5f4600566b82b5e79df8 (diff)
Add ${LKMDIR} automatic creation (just in case mtree not ran).
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lkm.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk
index a4334ec315f..34851db5c03 100644
--- a/share/mk/bsd.lkm.mk
+++ b/share/mk/bsd.lkm.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lkm.mk,v 1.3 1996/03/05 11:12:45 mickey Exp $
+# $OpenBSD: bsd.lkm.mk,v 1.4 1996/04/18 11:11:07 mickey Exp $
# from @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
.if exists(${.CURDIR}/../Makefile.inc)
@@ -49,6 +49,7 @@ cleandir: _SUBDIRUSE clean
.if !target(install)
.if !target(beforeinstall)
beforeinstall:
+ @-[ -d ${DESTDIR}${LKMDIR} ] || mkdir ${DESTDIR}${LKMDIR}
.endif
.if !target(afterinstall)
afterinstall: