summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.subdir.mk
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 /share/mk/bsd.subdir.mk
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 'share/mk/bsd.subdir.mk')
-rw-r--r--share/mk/bsd.subdir.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index b815451..310c97a 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.subdir.mk,v 1.16 1997/03/31 05:30:16 scrappy Exp $
+# $Id: bsd.subdir.mk,v 1.17 1997/04/13 06:44:24 jkh Exp $
#
# The include file <bsd.subdir.mk> contains the default targets
# for building subdirectories. It has the same seven targets
@@ -104,5 +104,7 @@ afterdistribute:
.endif
.if !target(distribute)
distribute: _SUBDIRUSE
- cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${DISTDIR}/${DISTRIBUTION}
+.for dist in ${DISTRIBUTION}
+ cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${DISTDIR}/${dist}
+.endfor
.endif
OpenPOWER on IntegriCloud