[Pkg-php-commits] r1189 - pear/php-mdb2-driver-sqlite/trunk/debian

Mark Hershberger mah-guest at alioth.debian.org
Mon Jan 5 20:58:09 UTC 2009


Author: mah-guest
Date: 2009-01-05 20:58:09 +0000 (Mon, 05 Jan 2009)
New Revision: 1189

Modified:
   pear/php-mdb2-driver-sqlite/trunk/debian/rules
Log:
yes, I can't think straight.  Fix up rules again.

Modified: pear/php-mdb2-driver-sqlite/trunk/debian/rules
===================================================================
--- pear/php-mdb2-driver-sqlite/trunk/debian/rules	2009-01-05 20:34:02 UTC (rev 1188)
+++ pear/php-mdb2-driver-sqlite/trunk/debian/rules	2009-01-05 20:58:09 UTC (rev 1189)
@@ -10,9 +10,8 @@
 DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
 
 PEAR ?= /usr/bin/pear
-pear_pkg = MDB2_Driver_sqlite
+pear_pkg = $(shell ls |grep MDB2_Driver_mysql)
 package = $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f 2 -d ' ')
-packagexml = ${pear_pkg}-${DEB_UPSTREAM_VERSION}/package_sqlite.xml
 
 configure: configure-stamp
 configure-stamp:
@@ -40,7 +39,7 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/package.
-	cp ${packagexml} $(pear_pkg)/package.xml
+	cp package.xml $(pear_pkg)/package.xml
 	$(PEAR) install -f -f -n -R debian/$(package) $(pear_pkg)/package.xml
 	rm -f debian/$(package)/usr/share/php/.filemap
 	rm -f debian/$(package)/usr/share/php/.lock




More information about the Pkg-php-commits mailing list