summaryrefslogtreecommitdiffhomepage
path: root/debian/rules
blob: c0fd9367b4c2cd0b446fcde96833bc24dd0c4a2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export BUILDER=./Setup
# ^ cabal likes to write to $HOME

%:
	dh $@

# the test suite takes a very long time to run, so disable it at
# package built time.  We run it with autopkgtest
# override_dh_auto_test: ./keysafe --test

# upstream's install-files target is not sufficient for our split into
# three binary packages, so disable it here and use dh_* tools
override_dh_auto_install:

# GHC cannot produce debugging symbols
override_dh_strip:
	dh_strip --no-automatic-dbgsym

# ensure service name is 'keysafe' not 'keysafe-server'.  This is so
# we are consistent with other distros despite our package split (see
# INSTALL)
override_dh_installinit:
	dh_installinit --name=keysafe