diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-21 15:40:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-21 15:40:34 +0000 |
commit | a8bb7ab7de8839eb216a36d0b906898fffa59372 (patch) | |
tree | f82d6b94c451e5aa49ea4ca92cc825fadf4ea91e /share/mk/bsd.lib.mk | |
parent | 90a0066a3fb52aa84d52e5fb3c2cc9b9121e3fdb (diff) | |
download | FreeBSD-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.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 4917efd..0fd7633 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.57 1997/05/23 17:50:35 dfr Exp $ +# $Id: bsd.lib.mk,v 1.58 1997/06/18 03:39:34 asami Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -245,7 +245,9 @@ afterinstall: realinstall 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 !target(lint) |