diff options
author | jlam <jlam> | 2006-07-06 22:29:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-06 22:29:52 +0000 |
commit | dc7af346aac47e74017fb3747b3d76a04373d244 (patch) | |
tree | 86e01d40e2b6fbd8f12d013ad3e7e680b240efb2 /mk/extract | |
parent | 90ab95f190c275a87ab8fd05386d77758eba31e3 (diff) | |
download | pkgsrc-dc7af346aac47e74017fb3747b3d76a04373d244.tar.gz |
The cookie files are indirectly made using *-cookie targets, so verify
that they are never being created more than once by inserting a check
into the *-cookie targets.
Diffstat (limited to 'mk/extract')
-rw-r--r-- | mk/extract/extract.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/extract/extract.mk b/mk/extract/extract.mk index 8ef2a36cad4..e57bacff622 100644 --- a/mk/extract/extract.mk +++ b/mk/extract/extract.mk @@ -1,4 +1,4 @@ -# $NetBSD: extract.mk,v 1.9 2006/07/05 22:21:02 jlam Exp $ +# $NetBSD: extract.mk,v 1.10 2006/07/06 22:29:52 jlam Exp $ # # The following variables may be set by the package Makefile and # specify how extraction happens: @@ -119,6 +119,7 @@ extract-check-interactive: ### .PHONY: extract-cookie extract-cookie: + ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_EXTRACT_COOKIE} || ${FALSE} ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_EXTRACT_COOKIE:H} ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_EXTRACT_COOKIE} |