aboutsummaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-06-20 23:52:45 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-06-20 23:52:45 +0000
commit485f5a7718271bbf8175b289bfe690c986f2b13f (patch)
tree85de76308ffa4e42392715465df690b624168043 /share/mk
parent94334d8fc4e00eb0ef672688cc6ad3b0aa68a717 (diff)
downloadsrc-485f5a7718271bbf8175b289bfe690c986f2b13f.tar.gz
src-485f5a7718271bbf8175b289bfe690c986f2b13f.zip
Handle the `distribute' target.
Notes
Notes: svn path=/head/; revision=16558
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.port.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 5e88d5bf4826..ec3518f78ddd 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.210 1996/06/19 09:33:31 asami Exp $
+# $Id: bsd.port.mk,v 1.211 1996/06/20 18:51:28 jkh Exp $
#
# Please view me with 4 column tabs!
@@ -249,7 +249,13 @@ cleandir: clean
.endif
.endif
+.if !target(distribute)
+distribute:
+ @cd ${.CURDIR} && ${MAKE} install DESTDIR=${DISTDIR}/${DISTRIBUTION}
.endif
+.endif
+# end of SRC_ENCAPSULATION defines
+
# These need to be absolute since we don't know how deep in the ports
# tree we are and thus can't go relative. They can, of course, be overridden