From 6fa7a135395f3ee239f0e351f830a8308a0e30d8 Mon Sep 17 00:00:00 2001 From: mickey Date: Thu, 18 Apr 1996 11:11:07 +0000 Subject: [PATCH] Add ${LKMDIR} automatic creation (just in case mtree not ran). --- share/mk/bsd.lkm.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.20.1