debian: replace build line with a override_dh_auto_build line
authorFaheem Mitha <faheem@faheem.info>
Sat, 11 Oct 2014 04:23:22 +0530
changeset 1125 f14163c7275a
parent 1124 25e8f9c43f8a
child 1126 aef5e42a4fde
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.
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)))