[SCM] zyn/master: Adjust clean target to work properly with unpacked waf.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Jan 9 19:44:54 UTC 2012


The following commit has been merged in the master branch:
commit 2692725b48c57cc8183c8aedf4e287903669e1c2
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Jan 9 20:40:07 2012 +0100

    Adjust clean target to work properly with unpacked waf.

diff --git a/debian/rules b/debian/rules
index ddb0850..3132156 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,9 @@ override_dh_auto_build:
 	$(WAF)
 
 override_dh_auto_clean:
-	$(WAF) distclean
+	$(WAF) clean || true
+	find -name "*.pyc" -delete
+	dh_auto_clean
 
 override_dh_auto_install:
 	$(WAF) install

-- 
zyn packaging



More information about the pkg-multimedia-commits mailing list