debian/rules
changeset 1822 b0ee88e8e759
parent 1821 d9d391bc8e1b
child 1823 c14231e3a4f9
--- a/debian/rules	Thu May 14 15:15:21 2009 +0200
+++ b/debian/rules	Thu May 14 15:27:16 2009 +0200
@@ -40,15 +40,17 @@
 	# and scripts in cubicweb-server
 	dh_install -vi
 	# cwctl in the cubicweb-ctl package
-	rm -f debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/cwctl.py
+	rm -f debian/cubicweb-common/usr/share/pyshared/cubicweb/cwctl.py
 
 	dh_lintian
 
 	# Remove unittests directory (should be available in cubicweb-dev only)
-	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-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-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
 
 	# cubes directory must be managed as a valid python module
 	touch debian/cubicweb-common/usr/share/cubicweb/cubes/__init__.py