mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
(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?)
This commit is contained in:
parent
c046aaad20
commit
570e661f02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8045
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user