18 lines
481 B
Makefile
Executable File
18 lines
481 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
INIT_SYSTEM ?= upstart,systemd
|
|
export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
|
|
|
|
%:
|
|
dh $@ --with python2,systemd --buildsystem pybuild
|
|
|
|
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:
|
|
# Becuase setup tools didn't copy data...
|
|
cp -r tests/data .pybuild/pythonX.Y_2.7/build/tests
|
|
http_proxy= dh_auto_test -- --test-nose
|