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

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Jan 10 00:32:33 UTC 2012


The following commit has been merged in the master branch:
commit 885dcb388184e5c9ccb79cb45f6a1cd41f2c6877
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Jan 10 01:21:58 2012 +0100

    Adjust the clean target to properly clean the sources tree.

diff --git a/debian/rules b/debian/rules
index 22e2b9a..745ba20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,9 @@ override_dh_auto_build:
 	$(WAF)
 
 override_dh_auto_clean:
-	$(WAF) distclean
-	rm -rf build .waf* get-orig-source
+	$(WAF) clean || true
+	find -name "*.pyc" -delete
+	rm -rf build .waf*
 	dh_auto_clean
 
 override_dh_auto_install:

-- 
serd packaging



More information about the pkg-multimedia-commits mailing list