debian/compat: Update to Debhelper 9 and `dh_python2'.
[xtoys] / debian / rules
index 7aa6821..d6037af 100755 (executable)
@@ -1,10 +1,4 @@
 #! /usr/bin/make -f
 
-CDBS = /usr/share/cdbs/1
-include $(CDBS)/rules/debhelper.mk
-include $(CDBS)/class/autotools.mk
-
-DEB_BUILDDIR = $(CURDIR)/build
-
-binary-install/xtoys-gtk::
-       dh_pycentral -pxtoys-gtk
+ARGS_binary-indep = --with-python2
+%:; dh $@ --parallel -Bdebian/build $(ARGS_$@)