aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 593fdf08f69497f3fdb77a58c2abd75f912804f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

NULL =

export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh $@ --parallel --fail-missing --with systemd

override_dh_auto_configure:
	# Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
	# So until Debian bug 719148 is fixed, do it ourselves.
	dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
	                     $(NULL)

override_dh_install:
	dh_install --fail-missing

# For live test logs:
#override_dh_auto_test:
#	ARGS=-V dh_auto_test