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

login
register
mail settings
Submitter Faheem Mitha
Date Oct. 10, 2014, 11:07 p.m.
Message ID <ab10d25ff09558cbb60f.1412982449@orwell.homelinux.org>
Download mbox | patch
Permalink /patch/6210/
State Accepted
Headers show

Comments

Faheem Mitha - Oct. 10, 2014, 11:07 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 ab10d25ff09558cbb60f8d68e19007faf0b0abc6
# Parent  048791b4e4adaccd3284821b0dbb1327845d7fdc
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 048791b4e4ad -r ab10d25ff095 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: