debian/: Bump to Debhelper 10.
[tripe] / debian / rules
index b45a6be..68e0a90 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/make -f
 
-DH_OPTIONS              = --parallel -Bdebian/build
+DH_OPTIONS              = --parallel --without=autoreconf -Bdebian/build
 
 ###--------------------------------------------------------------------------
 ### Configuration.
@@ -9,6 +9,7 @@ OVERRIDES               += auto_configure
 dh_auto_configure_OPTS  = --
 
 ## Various files and directories.
+dh_auto_configure_OPTS += --libdir="\$${prefix}/lib"
 dh_auto_configure_OPTS += --libexecdir="\$${libdir}/tripe"
 dh_auto_configure_OPTS += --with-configdir="/etc/tripe"
 dh_auto_configure_OPTS += --with-socketdir="/var/run"
@@ -47,9 +48,9 @@ dh-clean-hook::
 ### Other things.
 
 ## Python stuff.
-DH_OPTIONS             += --with=python-central
-OVERRIDES              += pycentral
-dh_pycentral_OPTS      += -ppython-tripe
+DH_OPTIONS             += --with=python2
+OVERRIDES              += python2
+dh_python2_OPTS                += -ppython-tripe
 
 ## The peer database.
 OVERRIDES              += install