diff options
author | joerg <joerg> | 2007-05-09 23:33:51 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-05-09 23:33:51 +0000 |
commit | a13177ca8f405b109b9f326fd708b4dfe43193ad (patch) | |
tree | 05d9b67d8778e1265cbc2f4152928df22927e918 /mk/bsd.pkg.mk | |
parent | 003e0f80dc5f88a7c187fb2234350df25d34b60c (diff) | |
download | pkgsrc-a13177ca8f405b109b9f326fd708b4dfe43193ad.tar.gz |
Add two targets, pbulk-index and pbulk-index-item.
pbulk-index-item prints a number of variables used by the parallel bulk
build code during either the build, the report or the upload phase.
pbulk-index checks whether multiple versions of the current package
could be build (e.g. because multiple Python versions are supported) and
uses pbulk-index-item for each possible combination.
Thanks to David Laight for explaining the different between using :[#]
in the body of a make target and in a clause of an .if.
Powered-by: Google SoC 2007.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 916e6d58637..88d8b65d1ed 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1910 2007/04/01 19:02:14 kristerw Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1911 2007/05/09 23:33:51 joerg Exp $ # # This file is in the public domain. # @@ -812,6 +812,10 @@ ${_MAKEVARS_MK.${_phase_}}: ${WRKDIR} ${_PKG_SILENT}${_PKG_DEBUG}${TOUCH} ${TOUCH_FLAGS} ${.TARGET} .endfor +.if make(pbulk-index) || make(pbulk-index-item) +.include "${.PARSEDIR}/pbulk/pbulk-index.mk" +.endif + .if defined(PKG_DEVELOPER) . include "${.PARSEDIR}/misc/developer.mk" .endif |