properly(?) remove test from standard packages stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 21 Jul 2009 13:25:35 +0200
branchstable
changeset 2408 7fc87a20b829
parent 2407 79c4abf2f91a
child 2409 15fae1998967
properly(?) remove test from standard packages
debian/rules
--- 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