summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-06-21 15:40:34 +0000
committerjkh <jkh@FreeBSD.org>1997-06-21 15:40:34 +0000
commita8bb7ab7de8839eb216a36d0b906898fffa59372 (patch)
treef82d6b94c451e5aa49ea4ca92cc825fadf4ea91e /sys
parent90a0066a3fb52aa84d52e5fb3c2cc9b9121e3fdb (diff)
downloadFreeBSD-src-a8bb7ab7de8839eb216a36d0b906898fffa59372.zip
FreeBSD-src-a8bb7ab7de8839eb216a36d0b906898fffa59372.tar.gz
Change the distribute targets so that a given item in our source tree
can place itself into n distributions, where n >= 1.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index a02fdbb..71f0194 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.kmod.mk,v 1.36 1997/05/06 14:29:56 dfr Exp $
+# $Id: bsd.kmod.mk,v 1.37 1997/06/18 03:10:31 asami Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists,
@@ -200,7 +200,9 @@ realinstall: beforeinstall
DISTRIBUTION?= bin
.if !target(distribute)
distribute: _SUBDIR
- cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${DISTRIBUTION} SHARED=copies
+.for dist in ${DISTRIBUTION}
+ cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
+.endfor
.endif
.if defined(NOTAGS)
OpenPOWER on IntegriCloud