summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.doc.mk
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-11-13 21:05:28 +0000
committerphk <phk@FreeBSD.org>1994-11-13 21:05:28 +0000
commit94e55d40f9b03d80327a548eff1ab752ba9a6833 (patch)
tree1cbec4b01474ea978c3d3b8b85c006c6c1f77906 /share/mk/bsd.doc.mk
parent48bf3d3d0e0fc7b65115f13d2b9b422783fb9e41 (diff)
downloadFreeBSD-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.doc.mk')
-rw-r--r--share/mk/bsd.doc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk
index 55552f6..81082ee 100644
--- a/share/mk/bsd.doc.mk
+++ b/share/mk/bsd.doc.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
-# $Id: bsd.doc.mk,v 1.2 1994/08/04 21:09:22 wollman Exp $
+# $Id: bsd.doc.mk,v 1.3 1994/08/28 15:37:39 bde Exp $
PRINTER?= ps
@@ -76,6 +76,12 @@ install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${DOC}.* \
${DESTDIR}${BINDIR}/${VOLUME}
+DISTRIBUTION?= bindist
+.if !target(distribute)
+distribute:
+ cd ${.CURDIR} ; $(MAKE) install DESTDIR=${RELEASEDIR}/${DISTRIBUTION} SHARED=copies
+.endif
+
spell: ${SRCS}
(cd ${.CURDIR}; spell ${SRCS} ) | sort | \
comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell
OpenPOWER on IntegriCloud