diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-11-13 21:05:28 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-11-13 21:05:28 +0000 |
commit | 55ff8fb1324cbdd2138db6fc713d43539391df9d (patch) | |
tree | 1cbec4b01474ea978c3d3b8b85c006c6c1f77906 /share/mk/bsd.subdir.mk | |
parent | 2a7b3781fcc3f3db0c437533ba1a1f5b558e24fb (diff) | |
download | src-55ff8fb1324cbdd2138db6fc713d43539391df9d.tar.gz src-55ff8fb1324cbdd2138db6fc713d43539391df9d.zip |
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.
Notes
Notes:
svn path=/head/; revision=4442
Diffstat (limited to 'share/mk/bsd.subdir.mk')
-rw-r--r-- | share/mk/bsd.subdir.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index b712afe99dab..4ff74f63d653 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.3 1994/08/28 15:35:30 bde Exp $ +# $Id: bsd.subdir.mk,v 1.4 1994/09/16 14:30:25 jkh Exp $ .MAIN: all @@ -53,6 +53,16 @@ depend: _SUBDIRUSE maninstall: _SUBDIRUSE .endif +DISTRIBUTION?= bindist +.if !target(afterdistribute) +afterdistribute: +.endif +.if !target(distribute) +distribute: _SUBDIRUSE + cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${RELEASEDIR}/${DISTRIBUTION} + +.endif + .if !target(install) .if !target(beforeinstall) beforeinstall: |