Removing override_dh_test rule - it appears fixed by upstream.
[debian/lxdm.git] / debian / rules
CommitLineData
6da61772
DB
1#!/usr/bin/make -f
2
3LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
4
5# Rename config file
6config_file = /etc/lxdm/default.conf
1b6900cc 7CFLAGS+=-DCONFIG_FILE=\"$(config_file)\"
6da61772
DB
8
9%:
400ad8c1 10 dh ${@} --with systemd --parallel
6da61772
DB
11
12override_dh_auto_configure:
400ad8c1
AG
13 dh_auto_configure -- --prefix=/usr \
14 --bindir=/usr/bin \
6da61772
DB
15 --sysconfdir=/etc \
16 --libexecdir=/usr/lib/lxdm \
400ad8c1 17 --with-pam
6da61772 18
1eee7fd9
AG
19override_dh_auto_install:
20 dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxdm
21
6da61772 22override_dh_install:
4d5ebfc3 23 dh_install --fail-missing
6da61772 24
6da61772
DB
25 mv debian/lxdm/etc/insserv.conf.d/lxdm.insserv debian/lxdm/etc/insserv.conf.d/lxdm
26
27override_dh_installinit:
114eceaa 28 dh_installinit --no-start -- defaults 30 01
400ad8c1
AG
29
30override_dh_systemd_start:
31 dh_systemd_start -plxdm --no-start -r lxdm.service
1eee7fd9
AG
32
33override_dh_strip:
34 dh_strip --dbg-package=lxdm-dbg