[Dh-make-php-commits] r258 - trunk

steinm at alioth.debian.org steinm at alioth.debian.org
Fri Jul 13 13:07:07 UTC 2007


Author: steinm
Date: 2007-07-13 13:07:07 +0000 (Fri, 13 Jul 2007)
New Revision: 258

Modified:
   trunk/pear.mk
Log:
- use phppkginfo instead of xmlstarlet


Modified: trunk/pear.mk
===================================================================
--- trunk/pear.mk	2007-05-14 13:53:43 UTC (rev 257)
+++ trunk/pear.mk	2007-07-13 13:07:07 UTC (rev 258)
@@ -29,8 +29,10 @@
 include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
 
 # modify these variables as necessary
-PEAR_PKG := $(shell /usr/bin/xmlstarlet sel -t -v '/package/name/text()' package.xml)
-PEAR_PKG_VERSION := $(shell /usr/bin/xmlstarlet sel -t -v '/package/release/version/text()' package.xml)
+#PEAR_PKG := $(shell /usr/bin/xmlstarlet sel -t -v '/package/name/text()' package.xml)
+PEAR_PKG := $(shell /usr/share/dh-make-php/phppkginfo . package)
+#PEAR_PKG_VERSION := $(shell /usr/bin/xmlstarlet sel -t -v '/package/release/version/text()' package.xml)
+PEAR_PKG_VERSION := $(shell /usr/share/dh-make-php/phppkginfo . version)
 # some packages use test instead of tests
 PEAR_TEST_DIR := tests
 




More information about the Dh-make-php-commits mailing list