summaryrefslogtreecommitdiff
path: root/packages/debian/rules
blob: f2516c93c12ca9aaffd5a40a2443a05b1a68d408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

INIT_SYSTEM ?= upstart,systemd
export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
export PYBUILD_TEST_ARGS=--test-nose 

%:
	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