Handle the `distribute' target.

This commit is contained in:
Jordan K. Hubbard 1996-06-20 23:52:45 +00:00
parent 94334d8fc4
commit 485f5a7718
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16558

View File

@ -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