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

login
register
mail settings
Submitter Faheem Mitha
Date Oct. 10, 2014, 9:35 p.m.
Message ID <1a2543a3c8b244872336.1412976958@orwell.homelinux.org>
Download mbox | patch
Permalink /patch/6187/
State Not Applicable
Headers show

Comments

Faheem Mitha - Oct. 10, 2014, 9:35 p.m.
# HG changeset patch
# User Faheem Mitha <faheem@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.

Patch

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: