Patchwork [3,of,5,evolve-ext] debian: replace build line with a dh_override_auto_build line

login
register
mail settings
Submitter Faheem Mitha
Date Oct. 10, 2014, 9:35 p.m.
Message ID <e2fe0683b7631d8a43e3.1412976957@orwell.homelinux.org>
Download mbox | patch
Permalink /patch/6190/
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 1412973311 -19800
#      Sat Oct 11 02:05:11 2014 +0530
# Branch stable
# Node ID e2fe0683b7631d8a43e3e2ca61fc6d2a73a92598
# Parent  e6da155b00e5cec2e253e91455fe8ecfb94447a2
debian: replace build line with a dh_override_auto_build line

This is more in line with how dh is supposed to work. In particular,
dh_auto_build is functionally equivalent to the repeated "dh build
--with python2 --buildsystem=python_distutils" used currently.

Patch

diff -r e6da155b00e5 -r e2fe0683b763 debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,8 @@ 
 %:
 	dh $@ --with python2 --buildsystem=python_distutils
 
-build:
-	dh build --with python2 --buildsystem=python_distutils
+dh_override_auto_build:
+	dh_auto_build
 	$(MAKE) -C docs
 
 ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))