diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-07 21:24:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-07 21:24:27 +0000 |
commit | 356f5e8af5cd19e6a2a6e9b8be45b4a5bbf60a64 (patch) | |
tree | e3a14bcdd4dd231263dc051a36761d879732de89 /mk/build/build.mk | |
parent | 5980ce7bc529287f0cd63cf1260c5d8f0f090f1e (diff) | |
download | pkgsrc-356f5e8af5cd19e6a2a6e9b8be45b4a5bbf60a64.tar.gz |
Rename <phase>_COOKIE variables to _COOKIE.<phase>. These are private
variables so there are no user-visible changes. This change just makes
it a little easier to write for loops.
Diffstat (limited to 'mk/build/build.mk')
-rw-r--r-- | mk/build/build.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/build/build.mk b/mk/build/build.mk index a9747acb12b..ebab48b20fa 100644 --- a/mk/build/build.mk +++ b/mk/build/build.mk @@ -1,4 +1,4 @@ -# $NetBSD: build.mk,v 1.3 2006/07/05 22:21:02 jlam Exp $ +# $NetBSD: build.mk,v 1.4 2006/07/07 21:24:28 jlam Exp $ # # BUILD_MAKE_FLAGS is the list of arguments that is passed to the make # process. @@ -17,16 +17,16 @@ BUILD_TARGET?= all _BUILD_TARGETS+= check-vulnerable _BUILD_TARGETS+= configure _BUILD_TARGETS+= acquire-build-lock -_BUILD_TARGETS+= ${_BUILD_COOKIE} +_BUILD_TARGETS+= ${_COOKIE.build} _BUILD_TARGETS+= release-build-lock _BUILD_TARGETS+= pkginstall .PHONY: build .if !target(build) -. if exists(${_BUILD_COOKIE}) +. if exists(${_COOKIE.build}) build: @${DO_NADA} -. elif exists(${_BARRIER_COOKIE}) +. elif exists(${_COOKIE.barrier}) build: ${_BUILD_TARGETS} . else build: barrier @@ -37,11 +37,11 @@ build: barrier acquire-build-lock: acquire-lock release-build-lock: release-lock -.if exists(${_BUILD_COOKIE}) -${_BUILD_COOKIE}: +.if exists(${_COOKIE.build}) +${_COOKIE.build}: @${DO_NADA} .else -${_BUILD_COOKIE}: real-build +${_COOKIE.build}: real-build .endif ###################################################################### |