| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
# Rename config file |
| 6 |
config_file = /etc/lxdm/default.conf |
| 7 |
CFLAGS+=-DCONFIG_FILE=\"$(config_file)\" |
| 8 |
|
| 9 |
%: |
| 10 |
dh ${@} |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -- --prefix=/usr \ |
| 14 |
--bindir=/usr/bin \ |
| 15 |
--sysconfdir=/etc \ |
| 16 |
--libexecdir=/usr/lib/lxdm \ |
| 17 |
--enable-gtk3 \ |
| 18 |
--with-pam |
| 19 |
|
| 20 |
override_dh_auto_install: |
| 21 |
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxdm |
| 22 |
|
| 23 |
override_dh_installinit: |
| 24 |
dh_installinit --no-start -- defaults 30 01 |
| 25 |
|
| 26 |
override_dh_installsystemd: |
| 27 |
dh_installsystemd -plxdm --no-start -r lxdm.service |