summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/debian/rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/debian/rules b/packages/debian/rules
index 6c3bf526..3bec7267 100755
--- a/packages/debian/rules
+++ b/packages/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
INIT_SYSTEM ?= upstart,systemd
+export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
%:
dh $@ --with python2,systemd --buildsystem pybuild
@@ -12,6 +13,3 @@ override_dh_install:
override_dh_auto_test:
http_proxy= dh_auto_test -- --test-nose
-
-override_dh_auto_install:
- dh_auto_install -- --init-system=$(INIT_SYSTEM)