changeset 1125:f14163c7275a

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.
author Faheem Mitha <faheem@faheem.info>
date Sat, 11 Oct 2014 04:23:22 +0530
parents 25e8f9c43f8a
children aef5e42a4fde
files debian/rules
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Sat Oct 11 02:02:05 2014 +0530
+++ b/debian/rules	Sat Oct 11 04:23:22 2014 +0530
@@ -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)))