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

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

Comments

Faheem Mitha - Oct. 10, 2014, 11:07 p.m.
# HG changeset patch
# User Faheem Mitha <faheem@faheem.info>
# Date 1412981602 -19800
#      Sat Oct 11 04:23:22 2014 +0530
# Branch stable
# Node ID 048791b4e4adaccd3284821b0dbb1327845d7fdc
# Parent  e6da155b00e5cec2e253e91455fe8ecfb94447a2
debian: replace build line with a override_dh_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 048791b4e4ad 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
+override_dh_auto_build:
+	dh_auto_build
 	$(MAKE) -C docs
 
 ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))