[SCM] jalv/master: Adjust the clean target to properly clean the sources.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Jan 10 09:17:14 UTC 2012


The following commit has been merged in the master branch:
commit dedafb936e8b745a9989e273eec690ebdb83fc99
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Jan 10 10:12:43 2012 +0100

    Adjust the clean target to properly clean the sources.

diff --git a/debian/rules b/debian/rules
index 4a002c8..65365b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,8 @@ override_dh_auto_build:
 	$(WAF)
 
 override_dh_auto_clean:
-	$(WAF) distclean
+	$(WAF) clean || true
+	find -name "*.pyc" -delete
 	rm -rf build .waf*
 	dh_auto_clean
 

-- 
jalv packaging



More information about the pkg-multimedia-commits mailing list