aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-13 07:32:32 +0800
committerjkh <jkh@FreeBSD.org>1994-10-13 07:32:32 +0800
commitb58470e10340fd78a744e9978e585b006c96f5b6 (patch)
treec4d1dca8ec12efc2fee35e3cb2b19acd4ffd8d0d /Mk
parent4e63113f7ee123eb792cc02194c013cd14ec6512 (diff)
downloadfreebsd-ports-graphics-b58470e10340fd78a744e9978e585b006c96f5b6.tar.gz
freebsd-ports-graphics-b58470e10340fd78a744e9978e585b006c96f5b6.tar.zst
freebsd-ports-graphics-b58470e10340fd78a744e9978e585b006c96f5b6.zip
Re-work the way pre-install was being depended. I couldn't make the
install cookie work any other way (perhaps I'm just being stupid). In any case, INSTALL_COOKIE now works as advertised, and prevents duplicate installations. pre-install users will have to keep their own cookies if they wish to avoid duplicate installations, or tell me how to make the rules run properly.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index baf026a67f7..9e39894a8c5 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.51 1994/10/12 03:12:19 ache Exp $
+# $Id: bsd.port.mk,v 1.52 1994/10/12 03:25:59 ache Exp $
#
# Please view me with 4 column tabs!
@@ -192,9 +192,9 @@ pre-install:
.endif
.if !target(install)
-install: ${INSTALL_COOKIE}
+install: pre-install ${INSTALL_COOKIE}
-${INSTALL_COOKIE}: pre-install
+${INSTALL_COOKIE}:
@echo "===> Installing for ${DISTNAME}"
.if defined(USE_GMAKE)
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} install)