3 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+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=no --disable-silent-rules
11 override_dh_installinit:
12 dh_installinit --noscripts
15 find debian/tmp -name '*.la' -delete
16 rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lightdm/gdmflexiserver
17 dh_install --fail-missing
19 override_dh_installpam:
21 dh_installpam --name=lightdm-autologin
26 override_dh_auto_test: