# HG changeset patch # User Faheem Mitha # Date 1412981602 -19800 # Node ID f14163c7275af9ec3b76a0064a56753aa224aca7 # Parent 25e8f9c43f8aab686f15d1980ad3ad5661cb585c 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 25e8f9c43f8a -r f14163c7275a debian/rules --- 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)))