#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk include /usr/share/dpkg/architecture.mk export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all override_dh_auto_configure: dh_auto_configure -- \ --disable-liblightdm-qt5 \ --disable-silent-rules \ --disable-tests \ --enable-introspection=yes \ --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/$(DEB_SOURCE)/ \ --with-greeter-user=lightdm \ --with-user-session=lightdm-xsession \ $(null) override_dh_installchangelogs: dh_installchangelogs -- NEWS override_dh_installinit: dh_installinit --noscripts override_dh_install: find debian/tmp -name '*.la' -delete find debian/tmp/etc/apparmor.d -type f -exec chmod 0644 '{}' \; dh_install --fail-missing -X etc/init/lightdm.conf -X etc/apparmor.d/lightdm-guest-session override_dh_auto_test: with := autoreconf ifeq (linux,$(DEB_HOST_ARCH_OS)) with += systemd override_dh_systemd_start: dh_systemd_start -plightdm --no-start -r lightdm.service endif ifeq (illumos,$(DEB_HOST_ARCH_OS)) with += smf endif %: dh $@ $(with:%=--with %) --parallel