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

Faheem Mitha faheem at faheem.info
Fri Oct 10 16:35:57 CDT 2014


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

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


More information about the Mercurial-devel mailing list