debian: replace clean with override_dh_auto_clean
authorFaheem Mitha <faheem@faheem.info>
Sat, 11 Oct 2014 02:14:12 +0530
changeset 1126 aef5e42a4fde
parent 1125 f14163c7275a
child 1127 87625964c333
debian: replace clean with override_dh_auto_clean The current version does not call the default dh_auto_build, which is a bug. This is required in particular for cleaning the build directories.
debian/rules
--- a/debian/rules	Sat Oct 11 04:23:22 2014 +0530
+++ b/debian/rules	Sat Oct 11 02:14:12 2014 +0530
@@ -18,7 +18,8 @@
 	find debian -name __init__.py -delete
 	dh_python2
 
-clean: clean-docs
+override_dh_auto_clean: clean-docs
+	dh_auto_clean
 	rm -f tests/*.err
 
 clean-docs: