From a8bb7ab7de8839eb216a36d0b906898fffa59372 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 21 Jun 1997 15:40:34 +0000 Subject: Change the distribute targets so that a given item in our source tree can place itself into n distributions, where n >= 1. --- share/mk/bsd.prog.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'share/mk/bsd.prog.mk') diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index cc146d2..c892983 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.49 1997/04/23 18:47:42 bde Exp $ +# $Id: bsd.prog.mk,v 1.50 1997/05/23 08:38:46 asami Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -112,7 +112,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) -- cgit v1.1