summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-20 23:52:45 +0000
committerjkh <jkh@FreeBSD.org>1996-06-20 23:52:45 +0000
commit88d3a8d36a42b5d9cc4dccdf88e33584ef532d05 (patch)
tree920f55640b463aad1d0e223403bebf14edc900a9 /Mk
parent00b7f51d2983be620935c87b9498f20103370709 (diff)
downloadFreeBSD-ports-88d3a8d36a42b5d9cc4dccdf88e33584ef532d05.zip
FreeBSD-ports-88d3a8d36a42b5d9cc4dccdf88e33584ef532d05.tar.gz
Handle the `distribute' target.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 5e88d5b..ec3518f 100644
--- a/Mk/bsd.port.mk
+++ b/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
OpenPOWER on IntegriCloud