diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-06 22:17:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-06 22:17:57 +0000 |
commit | 68539476755c6f9b340f5f6d8e7b2fe1ac7158c6 (patch) | |
tree | 0a3369a481a411e9d0a7b2617ba551bae6c7e283 /mk/bsd.pkg.barrier.mk | |
parent | e6fa682ce011632ee78a2e1f06ddac9b767f938e (diff) | |
download | pkgsrc-68539476755c6f9b340f5f6d8e7b2fe1ac7158c6.tar.gz |
Remove an unnecessary target... ${_BARRIER_COOKIE} has no source targets
so it might as well be the target name.
Diffstat (limited to 'mk/bsd.pkg.barrier.mk')
-rw-r--r-- | mk/bsd.pkg.barrier.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.barrier.mk b/mk/bsd.pkg.barrier.mk index 54631f6645d..3e302a3a6c2 100644 --- a/mk/bsd.pkg.barrier.mk +++ b/mk/bsd.pkg.barrier.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.barrier.mk,v 1.4 2006/07/06 22:08:32 jlam Exp $ +# $NetBSD: bsd.pkg.barrier.mk,v 1.5 2006/07/06 22:17:57 jlam Exp $ _BARRIER_COOKIE= ${WRKDIR}/.barrier_cookie @@ -49,7 +49,7 @@ _BARRIER_CMDLINE_TARGETS+= ${_target_} ### .PHONY: barrier -barrier: ${_BARRIER_PRE_TARGETS} barrier-cookie +barrier: ${_BARRIER_PRE_TARGETS} ${_BARRIER_COOKIE} .if !exists(${_BARRIER_COOKIE}) . if defined(PKG_VERBOSE) @${PHASE_MSG} "Invoking \`\`"${_BARRIER_CMDLINE_TARGETS:Q}"'' after barrier for ${PKGNAME}" @@ -65,6 +65,6 @@ barrier: ${_BARRIER_PRE_TARGETS} barrier-cookie ###################################################################### ### barrier-cookie creates the "barrier" cookie file. ### -barrier-cookie: - ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_BARRIER_COOKIE:H} - ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_BARRIER_COOKIE} +${_BARRIER_COOKIE}: + ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H} + ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${.TARGET} |