use override targets
This commit is contained in:
parent
ec7872a4b5
commit
6b47a3ef74
|
@ -1,8 +1,6 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
INIT_SYSTEM ?= upstart,systemd
|
||||
export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
|
||||
export PYBUILD_TEST_NOSE=1
|
||||
|
||||
%:
|
||||
dh $@ --with python2,systemd --buildsystem pybuild
|
||||
|
@ -11,3 +9,9 @@ override_dh_install:
|
|||
dh_install
|
||||
install -d debian/cloud-init/etc/rsyslog.d
|
||||
cp tools/21-cloudinit.conf debian/cloud-init/etc/rsyslog.d/21-cloudinit.conf
|
||||
|
||||
override_dh_auto_test:
|
||||
http_proxy= dh_auto_test -- --test-nose
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install -- --init-system=$(INIT_SYSTEM)
|
||||
|
|
Loading…
Reference in New Issue