summary refs log tree commit diff
path: root/debian/rules
blob: 05cbbdde0844d875211d0ce359133ba0d988a7e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
#
# Build Debian package using https://github.com/spotify/dh-virtualenv
#

override_dh_systemd_enable:
	dh_systemd_enable --name=matrix-synapse

override_dh_installinit:
	dh_installinit --name=matrix-synapse

override_dh_strip:

override_dh_shlibdeps:

override_dh_virtualenv:
	./debian/build_virtualenv

# We are restricted to compat level 9 (because xenial), so have to
# enable the systemd bits manually.
%:
	dh $@ --with python-virtualenv --with systemd