summaryrefslogtreecommitdiff
path: root/packages/debian/rules
blob: 6bf78377ffe272cb0e6f4f2fb45bba5c46671f84 (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_NOSE=1

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