Correcting debian/lxdm.install file.
[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
DB
18
19override_dh_auto_test:
20 # disabled
21
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:
28 dh_installinit --no-start
400ad8c1
AG
29
30override_dh_systemd_start:
31 dh_systemd_start -plxdm --no-start -r lxdm.service