[Python-modules-commits] r4646 - in packages/python-kinterbasdb/trunk/debian (rules)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Tue Feb 26 08:36:46 UTC 2008


    Date: Tuesday, February 26, 2008 @ 08:36:44
  Author: morph-guest
Revision: 4646

added debug pkg

Modified:
  packages/python-kinterbasdb/trunk/debian/rules

Modified: packages/python-kinterbasdb/trunk/debian/rules
===================================================================
--- packages/python-kinterbasdb/trunk/debian/rules	2008-02-26 08:16:29 UTC (rev 4645)
+++ packages/python-kinterbasdb/trunk/debian/rules	2008-02-26 08:36:44 UTC (rev 4646)
@@ -20,8 +20,8 @@
 build-stamp: 
 	dh_testdir
 
-	set-e; \
-	for py in $(PYVERS); do $$py setup.py build; done
+	set -e; \
+	for py in $(PYVERS); do $$py setup.py build; $$py-dbg setup.py build; done
 
 	touch build-stamp
 
@@ -30,7 +30,7 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	-for py in $(PYVERS); do $$py setup.py clean; done
+	-for py in $(PYVERS); do $$py setup.py clean ; $$py-dbg setup.py clean ; done
 	
 	[ ! -d build ] || rm -rf build
 
@@ -48,11 +48,14 @@
 	set -e; \
 	for py in $(PYVERS); do \
 	    $$py setup.py install --root=debian/python-kinterbasdb; \
+	    $$py-dbg setup.py install --root=debian/python-kinterbasdb-dbg; \
 	done
+
 	-find debian -name '*.py[co]' | xargs rm -f
 
 	# these are wrongly installed by the script above:
 	rm -rf debian/python-kinterbasdb/usr/lib/python*/site-packages/kinterbasdb/docs
+	rm -rf debian/python-kinterbasdb-dbg/usr/lib/python*/site-packages/kinterbasdb/docs
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Python-modules-commits mailing list