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 27
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Rename config file
config_file = /etc/lxdm/default.conf
CFLAGS+=-DCONFIG_FILE=\"$(config_file)\"
%:
dh ${@}
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr \
--bindir=/usr/bin \
--sysconfdir=/etc \
--libexecdir=/usr/lib/lxdm \
--enable-gtk3 \
--with-pam
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxdm
override_dh_installinit:
dh_installinit --no-start -- defaults 30 01
override_dh_installsystemd:
dh_installsystemd -plxdm --no-start -r lxdm.service
|