# 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 --git a/debian/rules b/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)))