summaryrefslogtreecommitdiff
path: root/rules
blob: 9b77d718b495c43aa51c383586a4feb100c33e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@  --with autoreconf

override_dh_install:
	dh_install
	rm -rf debian/systemd-shim/etc

# StartTransientUnit D-BUS API change in 209
override_dh_gencontrol:
	if [ `pkg-config --modversion systemd` -ge 209 ]; then \
	    dh_gencontrol -- -Vsystemd:Breaks='systemd (<< 209)'; \
	else \
	    dh_gencontrol -- -Vsystemd:Breaks='systemd (>= 209)'; \
	fi