Renamed the configure-cookie target to _configure-cookie.
This commit is contained in:
parent
a65e6d68ed
commit
7163898672
2 changed files with 9 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.configure.mk,v 1.9 2006/07/27 13:47:29 jlam Exp $
|
||||
# $NetBSD: bsd.configure.mk,v 1.10 2007/03/07 01:27:28 rillig Exp $
|
||||
#
|
||||
# This Makefile fragment is included by bsd.pkg.mk and provides all
|
||||
# variables and targets related to configuring packages for building.
|
||||
|
@ -27,19 +27,14 @@ _COOKIE.configure= ${WRKDIR}/.configure_done
|
|||
configure:
|
||||
@${DO_NADA}
|
||||
. elif defined(_PKGSRC_BARRIER)
|
||||
configure: wrapper configure-cookie
|
||||
configure: wrapper _configure-cookie
|
||||
. else
|
||||
configure: barrier
|
||||
. endif
|
||||
.endif
|
||||
|
||||
######################################################################
|
||||
### configure-cookie (PRIVATE)
|
||||
######################################################################
|
||||
### configure-cookie creates the "configure" cookie file.
|
||||
###
|
||||
.PHONY: configure-cookie
|
||||
configure-cookie:
|
||||
${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_COOKIE.configure} || ${FALSE}
|
||||
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_COOKIE.configure:H}
|
||||
${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_COOKIE.configure}
|
||||
# Creates the "configure" cookie file.
|
||||
_configure-cookie: .PHONY
|
||||
${RUN} [ ! -f ${_COOKIE.configure} ] # XXX: What's the purpose of this assertion?
|
||||
${RUN} ${MKDIR} ${_COOKIE.configure:H}
|
||||
${RUN} ${ECHO} ${PKGNAME} > ${_COOKIE.configure}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: configure.mk,v 1.14 2007/01/08 02:26:03 rillig Exp $
|
||||
# $NetBSD: configure.mk,v 1.15 2007/03/07 01:27:27 rillig Exp $
|
||||
#
|
||||
# CONFIGURE_SCRIPT is the path to the script to run in order to
|
||||
# configure the software for building. If the path is relative,
|
||||
|
@ -105,7 +105,7 @@ _REAL_CONFIGURE_TARGETS+= do-configure-pre-hook
|
|||
_REAL_CONFIGURE_TARGETS+= do-configure
|
||||
_REAL_CONFIGURE_TARGETS+= do-configure-post-hook
|
||||
_REAL_CONFIGURE_TARGETS+= post-configure
|
||||
_REAL_CONFIGURE_TARGETS+= configure-cookie
|
||||
_REAL_CONFIGURE_TARGETS+= _configure-cookie
|
||||
_REAL_CONFIGURE_TARGETS+= error-check
|
||||
|
||||
.PHONY: real-configure
|
||||
|
|
Loading…
Reference in a new issue