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

Faheem Mitha faheem at faheem.info
Fri Oct 10 18:07:28 CDT 2014


# HG changeset patch
# User Faheem Mitha <faheem at 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.

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)))


More information about the Mercurial-devel mailing list