diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-03 19:14:08 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-03 19:14:08 +0000 |
commit | 9e3621d32262bbe9a40e5d38b9ec33dccc1180d2 (patch) | |
tree | da61534b2555ab23f0da0a15df67132f13fe40a6 /Mk | |
parent | 04f8fa732728baee430dd26159a9a23246d05269 (diff) | |
download | FreeBSD-ports-9e3621d32262bbe9a40e5d38b9ec33dccc1180d2.zip FreeBSD-ports-9e3621d32262bbe9a40e5d38b9ec33dccc1180d2.tar.gz |
Add reinstall target for Poul-H. This lets you install again from
the same build, ignoring the INSTALL_COOKIE.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ead078f..a84d2d5 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.61 1994/11/01 18:09:22 jkh Exp $ +# $Id: bsd.port.mk,v 1.62 1994/11/01 21:04:27 jkh Exp $ # # Please view me with 4 column tabs! @@ -75,6 +75,8 @@ # what's available. # build - Actually compile the sources. # install - Install the results of a build. +# reinstall - Install the results of a build, ignoring "already installed" +# flag. # package - Create a package from a build. # # Default sequence for "all" is: fetch extract configure build @@ -225,6 +227,13 @@ install: # More standard targets start here. +.if !target(reinstall) +reinstall: pre-reinstall install + +pre-reinstall: + @rm -f ${INSTALL_COOKIE} +.endif + .if !target(pre-install) pre-install: @${DO_NADA} @@ -412,7 +421,8 @@ pre-clean: .if !target(clean) clean: pre-clean @echo "===> Cleaning for ${DISTNAME}" - @rm -f ${EXTRACT_COOKIE} ${CONFIGURE_COOKIE} ${INSTALL_COOKIE} + @rm -f ${EXTRACT_COOKIE} ${CONFIGURE_COOKIE} ${INSTALL_COOKIE} \ + ${BUILD_COOKIE} @rm -rf ${WRKDIR} .endif |