diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index efe654cef780..3e41f5f6a095 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.108 1997/05/26 03:58:18 cjs Exp $ +# $NetBSD: bsd.lib.mk,v 1.109 1997/05/27 17:45:57 cjs Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if exists(${.CURDIR}/../Makefile.inc) @@ -348,9 +348,9 @@ ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: llib-l${LIB}.ln .endif .include -.include .include .include +.include .include .include .include diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index 3397ce840b24..cc767a1620e0 100644 --- a/share/mk/bsd.subdir.mk +++ b/share/mk/bsd.subdir.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.subdir.mk,v 1.22 1997/05/26 03:59:03 cjs Exp $ +# $NetBSD: bsd.subdir.mk,v 1.23 1997/05/27 17:45:59 cjs Exp $ # @(#)bsd.subdir.mk 8.1 (Berkeley) 6/8/93 .include @@ -46,4 +46,8 @@ ${dir}: all-${dir} ${targ}: _SUBDIRUSE .endfor +.if defined(SUBDIR) && !empty(SUBDIR) +realinstall: ${SUBDIR:S/^/install-/g} +.endif + .include