diff options
author | phk <phk@FreeBSD.org> | 1994-11-13 21:05:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-13 21:05:28 +0000 |
commit | 94e55d40f9b03d80327a548eff1ab752ba9a6833 (patch) | |
tree | 1cbec4b01474ea978c3d3b8b85c006c6c1f77906 /share/mk/bsd.lib.mk | |
parent | 48bf3d3d0e0fc7b65115f13d2b9b422783fb9e41 (diff) | |
download | FreeBSD-src-94e55d40f9b03d80327a548eff1ab752ba9a6833.zip FreeBSD-src-94e55d40f9b03d80327a548eff1ab752ba9a6833.tar.gz |
Add a new "distribute" target. This is a variant of install, which will
put the stuff into the right "distribution". As default things end up
in "bindist".
Normal (ie: most) makefiles know naught of this.
More commits will follow, which will direct various parts of the tree
into the distribution we want them in.
Some of the grief of being release-engineer is supposed to go away with this.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index f65dcd6..81a514c 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.9 1994/09/18 22:22:32 wollman Exp $ +# $Id: bsd.lib.mk,v 1.10 1994/10/25 17:55:25 bde Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -267,6 +267,12 @@ afterinstall: realinstall .endif .endif +DISTRIBUTION?= bindist +.if !target(distribute) +distribute: + cd ${.CURDIR} ; $(MAKE) install DESTDIR=${RELEASEDIR}/${DISTRIBUTION} SHARED=copies +.endif + .if !target(lint) lint: .endif |