Rename internal package-clean target to package-eat-cookie.

This commit is contained in:
joerg 2010-02-25 01:03:44 +00:00
parent 61290c70ad
commit 64a32682ff
2 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: install.mk,v 1.58 2010/02/24 22:53:34 joerg Exp $
# $NetBSD: install.mk,v 1.59 2010/02/25 01:03:44 joerg Exp $
#
# This file provides the code for the "install" phase.
#
@ -388,5 +388,5 @@ privileged-install-hook: .PHONY
### install-clean removes the state files for the "install" and
### later phases so that the "install" target may be re-invoked.
###
install-clean: .PHONY package-clean check-clean _flavor-install-clean
install-clean: .PHONY package-eat-cookie check-clean _flavor-install-clean
${RUN} ${RM} -f ${PLIST} ${_COOKIE.install} ${_DEPENDS_PLIST}

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.package.mk,v 1.12 2009/04/09 00:51:23 joerg Exp $
# $NetBSD: bsd.package.mk,v 1.13 2010/02/25 01:03:44 joerg Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to binary packages.
@ -24,14 +24,14 @@ _COOKIE.package= ${WRKDIR}/.package_done
###
.PHONY: repackage
.if !target(repackage)
repackage: package-clean package
repackage: package-eat-cookie package
.endif
######################################################################
### package-clean (PRIVATE)
### package-eat-cookie (PRIVATE)
######################################################################
### package-clean removes the state files associated with the "package"
### package-eat-cookie removes the state files associated with the "package"
### phase so that the "package" target may be re-invoked.
###
package-clean:
package-eat-cookie:
${RUN} ${RM} -f ${_COOKIE.package}