[Pkg-zenoss-commits] r120 - /packages/zenoss/trunk/debian/rules

kobold at users.alioth.debian.org kobold at users.alioth.debian.org
Sat Jun 16 16:04:44 UTC 2007


Author: kobold
Date: Sat Jun 16 16:04:44 2007
New Revision: 120

URL: http://svn.debian.org/wsvn/pkg-zenoss/?sc=1&rev=120
Log:
Fixed the clean target.

Modified:
    packages/zenoss/trunk/debian/rules

Modified: packages/zenoss/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-zenoss/packages/zenoss/trunk/debian/rules?rev=120&op=diff
==============================================================================
--- packages/zenoss/trunk/debian/rules (original)
+++ packages/zenoss/trunk/debian/rules Sat Jun 16 16:04:44 2007
@@ -53,9 +53,9 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp-indep
-	cd PDIS-XPath-0.3; $(PYTHON) setup.py clean -a
-	cd testgen; $(PYTHON) setup.py clean -a
-	find testgen PDIS-XPath-0.3 -name \*.pyc -exec rm -f {} \;
+	[ -d PDIS-XPath-0.3 ] && (cd PDIS-XPath-0.3; $(PYTHON) setup.py clean -a) || true
+	[ -d testgen ] && (cd testgen; $(PYTHON) setup.py clean -a) || true
+	[ -d PDIS-XPath-0.3 ] && (find testgen PDIS-XPath-0.3 -name \*.pyc -exec rm -f {} \;) || true
 
 
 install-arch: build-arch




More information about the Pkg-zenoss-commits mailing list