diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-06-03 04:01:16 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-06-03 04:01:16 +0000 |
commit | 2f9710647bf896368972151eb460a806e16dbdb0 (patch) | |
tree | 26647e5c78bffe2d48a58a8c8383ca1e35ebe32a /share/mk/bsd.lkm.mk | |
parent | 5379c220c8305b7dc1b1ab6a42fac75535a7393f (diff) |
always instal ${POSTINSTALL} program, if there is one.
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r-- | share/mk/bsd.lkm.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk index ae9f072680a..658adb91742 100644 --- a/share/mk/bsd.lkm.mk +++ b/share/mk/bsd.lkm.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lkm.mk,v 1.6 1996/05/27 08:20:11 tholo Exp $ +# $OpenBSD: bsd.lkm.mk,v 1.7 1996/06/03 04:01:15 mickey Exp $ # from @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 .if exists(${.CURDIR}/../Makefile.inc) @@ -59,6 +59,10 @@ realinstall: .if defined(LKM) install ${COPY} -o ${LKMOWN} -g ${LKMGRP} -m ${LKMMODE} \ ${COMBINED} ${DESTDIR}${LKMDIR}/${LKM}.o +.if exists(${.CURDIR}/${POSTINSTALL}) + install -c -o ${LKMOWN} -g ${LKMGRP} -m 555 ${.CURDIR}/${POSTINSTALL} \ + ${DESTDIR}${LKMDIR} +.endif .endif .endif |