[PATCH 4 of 5 evolve-ext] debian: replace clean with override_dh_auto_clean

Faheem Mitha faheem at faheem.info
Fri Oct 10 16:35:58 CDT 2014


# HG changeset patch
# User Faheem Mitha <faheem at faheem.info>
# Date 1412973852 -19800
#      Sat Oct 11 02:14:12 2014 +0530
# Branch stable
# Node ID 1a2543a3c8b2448723367aeb9da31f9b41478c15
# Parent  e2fe0683b7631d8a43e3e2ca61fc6d2a73a92598
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.

diff -r e2fe0683b763 -r 1a2543a3c8b2 debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -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:


More information about the Mercurial-devel mailing list