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