From: mickey Date: Thu, 18 Apr 1996 11:11:07 +0000 (+0000) Subject: Add ${LKMDIR} automatic creation (just in case mtree not ran). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6fa7a135395f3ee239f0e351f830a8308a0e30d8;p=openbsd Add ${LKMDIR} automatic creation (just in case mtree not ran). --- 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: