Adding debian version 0.4.1-1 (FIXME).
[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
7CFLAGS+=-DCONFIG_FILE=\\\"$(config_file)\\\"
8
9%:
10 dh ${@}
11
12override_dh_auto_configure:
13 dh_auto_configure -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" \
14 --sysconfdir=/etc \
15 --libexecdir=/usr/lib/lxdm \
16 --enable-debug
17
18override_dh_auto_test:
19 # disabled
20
21override_dh_install:
22 dh_install
23
24 mkdir -p debian/lxdm/etc/insserv.conf.d
25 cp debian/lxdm.insserv debian/lxdm/etc/insserv.conf.d/
26 mv debian/lxdm/etc/insserv.conf.d/lxdm.insserv debian/lxdm/etc/insserv.conf.d/lxdm
27
28override_dh_installinit:
29 dh_installinit --no-start