debian/rules
branchstable
changeset 2408 7fc87a20b829
parent 1927 801ca4fb487f
child 2411 837296c786c4
--- a/debian/rules	Tue Jul 21 13:24:26 2009 +0200
+++ b/debian/rules	Tue Jul 21 13:25:35 2009 +0200
@@ -47,12 +47,12 @@
 	dh_lintian
 
 	# Remove unittests directory (should be available in cubicweb-dev only)
-	rm -rf debian/cubicweb-server/usr/share/pyshared/cubicweb/server/test
-	rm -rf debian/cubicweb-server/usr/share/pyshared/cubicweb/sobjects/test
-	rm -rf debian/cubicweb-dev/usr/share/pyshared/cubicweb/devtools/test
-	rm -rf debian/cubicweb-web/usr/share/pyshared/cubicweb/web/test
-	rm -rf debian/cubicweb-common/usr/share/pyshared/cubicweb/common/test
-	rm -rf debian/cubicweb-common/usr/share/pyshared/cubicweb/entities/test
+	rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/server/test
+	rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/sobjects/test
+	rm -rf debian/cubicweb-dev/usr/lib/${PY_VERSION}/site-packages/cubicweb/devtools/test
+	rm -rf debian/cubicweb-web/usr/lib/${PY_VERSION}/site-packages/cubicweb/web/test
+	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/common/test
+	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/entities/test
 
 	# cubes directory must be managed as a valid python module
 	touch debian/cubicweb-common/usr/share/cubicweb/cubes/__init__.py