diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-04-24 10:41:51 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-04-24 10:41:51 +0000 |
commit | 1cd7cf497cc240260fe4abf1279ee3a1d6c1e6c6 (patch) | |
tree | 2e386c35649a28ccf8edd6581e655ce13d752215 /Mk/bsd.port.mk | |
parent | b3bd749aeae606feb288aeaf7243315703323b56 (diff) | |
download | ports-1cd7cf497cc240260fe4abf1279ee3a1d6c1e6c6.tar.gz ports-1cd7cf497cc240260fe4abf1279ee3a1d6c1e6c6.zip |
(1) Add the chain of dependencies to the targets in the NO_* section
too (otherwise the chain won't work).
(2) If NO_WRKDIR is set, "make clean" removes "./.*_done" (assuming
these are cookies...or should I list all the cookies?)
Notes
Notes:
svn path=/head/; revision=1518
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 096a0960f290..d05188d352d5 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.148 1995/04/22 01:22:49 jkh Exp $ +# $Id: bsd.port.mk,v 1.149 1995/04/24 09:05:34 asami Exp $ # # Please view me with 4 column tabs! @@ -350,35 +350,35 @@ is_depended: install ################################################################ .if defined(NO_EXTRACT) && !target(extract) -extract: +extract: checksum @${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE} -checksum: +checksum: fetch @${DO_NADA} makesum: @${DO_NADA} .endif .if defined(NO_CONFIGURE) && !target(configure) -configure: +configure: patch @${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE} .endif .if defined(NO_BUILD) && !target(build) -build: +build: configure @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE} .endif .if defined(NO_PACKAGE) && !target(package) -package: +package: install @${DO_NADA} .endif .if defined(NO_PACKAGE) && !target(repackage) -repackage: +repackage: install @${DO_NADA} .endif .if defined(NO_INSTALL) && !target(install) -install: +install: build @${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE} .endif .if defined(NO_PATCH) && !target(patch) -patch: +patch: extract @${TOUCH} ${TOUCH_FLAGS} ${PATCH_COOKIE} .endif @@ -784,7 +784,9 @@ clean: pre-clean @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" @rm -f ${EXTRACT_COOKIE} ${CONFIGURE_COOKIE} ${INSTALL_COOKIE} \ ${BUILD_COOKIE} ${PATCH_COOKIE} -.if !defined(NO_WRKDIR) +.if defined(NO_WRKDIR) + @rm -f ${WRKDIR}/.*_done +.else @rm -rf ${WRKDIR} .endif .endif |