summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: