3 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
6 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
8 override_dh_auto_configure:
9 dh_auto_configure -- --with-greeter-user=lightdm --with-user-session=lightdm-xsession --enable-introspection=yes --disable-silent-rules
11 override_dh_installchangelogs:
12 dh_installchangelogs -- NEWS
14 override_dh_installinit:
15 dh_installinit --noscripts
18 find debian/tmp -name '*.la' -delete
19 find debian/tmp/usr/lib/ -name gdmflexiserver -delete
20 find debian/tmp/etc/apparmor.d -type f -exec chmod 0644 '{}' \;
21 dh_install --fail-missing -X etc/init/lightdm.conf
26 override_dh_auto_test: