[SCM] ladish/master: Call 'waf clean' instead of 'distclean', skip errors, prune *.pyc files.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Jan 9 18:55:02 UTC 2012


The following commit has been merged in the master branch:
commit 5d7cab5005bb2a5c0d609c29b266633ee8a56f6b
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Jan 9 19:31:52 2012 +0100

    Call 'waf clean' instead of 'distclean', skip errors, prune *.pyc files.

diff --git a/debian/rules b/debian/rules
index 1a9da69..ba1ed41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,8 @@ override_dh_auto_build:
 	$(WAF)
 
 override_dh_auto_clean:
-	$(WAF) distclean
+	$(WAF) clean || true
+	find waflib -name "*.pyc" -delete
 	dh_auto_clean
 
 override_dh_auto_install:

-- 
ladish packaging



More information about the pkg-multimedia-commits mailing list