summaryrefslogtreecommitdiff
path: root/mk/extract
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-21 14:21:28 +0000
committerjlam <jlam>2006-07-21 14:21:28 +0000
commit692c6fe9d40e424cf82875cd8d9f6cbdde77c59e (patch)
tree30b4564d30dbe8759a4bcad799f3da559c994074 /mk/extract
parent79a85853b164082e05f7706ea4e3acf7a2c22ed3 (diff)
downloadpkgsrc-692c6fe9d40e424cf82875cd8d9f6cbdde77c59e.tar.gz
Rearrange sequence so that "wrapper" occurs between "tools" and
"extract". This allows all user-definable targets (pre-*, do-*, post-*) to have access to the wrapper scripts.
Diffstat (limited to 'mk/extract')
-rw-r--r--mk/extract/extract.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/mk/extract/extract.mk b/mk/extract/extract.mk
index 51c66b423e5..c1bdb852596 100644
--- a/mk/extract/extract.mk
+++ b/mk/extract/extract.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extract.mk,v 1.11 2006/07/07 21:24:28 jlam Exp $
+# $NetBSD: extract.mk,v 1.12 2006/07/21 14:21:28 jlam Exp $
#
# The following variables may be set by the package Makefile and
# specify how extraction happens:
@@ -43,10 +43,7 @@ _COOKIE.extract= ${WRKDIR}/.extract_done
### extract is a public target to perform extraction.
###
_EXTRACT_TARGETS+= check-vulnerable
-_EXTRACT_TARGETS+= checksum
-_EXTRACT_TARGETS+= makedirs
-_EXTRACT_TARGETS+= depends
-_EXTRACT_TARGETS+= tools
+_EXTRACT_TARGETS+= wrapper
_EXTRACT_TARGETS+= acquire-extract-lock
_EXTRACT_TARGETS+= ${_COOKIE.extract}
_EXTRACT_TARGETS+= release-extract-lock
@@ -56,8 +53,10 @@ _EXTRACT_TARGETS+= release-extract-lock
. if exists(${_COOKIE.extract})
extract:
@${DO_NADA}
-. else
+. elif exists(${_COOKIE.barrier})
extract: ${_EXTRACT_TARGETS}
+. else
+extract: barrier
. endif
.endif