[Dh-make-php-commits] r230 - trunk/pecl.template
Uwe Steinmann
steinm at alioth.debian.org
Wed Nov 1 17:57:49 CET 2006
Author: steinm
Date: 2006-11-01 17:57:49 +0100 (Wed, 01 Nov 2006)
New Revision: 230
Modified:
trunk/pecl.template/rules
Log:
- set BUILDTARGETS and CLEANTARGETS with keywords
##buildtargets## and ##cleantargets##
Modified: trunk/pecl.template/rules
===================================================================
--- trunk/pecl.template/rules 2006-11-01 16:56:23 UTC (rev 229)
+++ trunk/pecl.template/rules 2006-11-01 16:57:49 UTC (rev 230)
@@ -28,6 +28,8 @@
EXT_DIR=$(shell $(PHPCONFIG)$* --extension-dir)
SOURCE_DIR=$(shell ls -d $(PECL_PKG_REALNAME)-*)
BINARYTARGETS=##binarytargets##
+BUILDTARGETS=##buildtargets##
+CLEANTARGETS=##cleantargets##
# Sarge doesn't support --phpapi option (Bug #365667)
#phpapiver4=$(shell /usr/bin/php-config4 --phpapi)
@@ -44,7 +46,7 @@
rm -f configure-stamp-v*
touch $@
-build: build-v4 build-v5
+build: $(BUILDTARGETS)
build-v4 build-v5: build-v%: build-stamp-v%
@@ -52,7 +54,7 @@
xsltproc --nonet --novalid debian/changelog.xsl package.xml > debian/Changelog
touch build-stamp
-build-stamp-v4 build-stamp-v5: build-stamp-v%: build-stamp clean-v% configure-stamp-v%
+build-stamp-v4 build-stamp-v5: build-stamp-v%: build-stamp configure-stamp-v%
dh_testdir
# Add here commands to compile the package.
@@ -60,7 +62,7 @@
rm -f build-stamp-v*
touch $@
-clean: clean-v4 clean-v5
+clean: $(CLEANTARGETS)
dh_clean
clean-v4 clean-v5: clean-v%:
More information about the Dh-make-php-commits
mailing list