#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs ifneq ($(DEB_HOST_ARCH_OS),linux) SYSTEMD = -Dsystemd=disabled -Dselinux=disabled endif %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -Dlibcap-ng=disabled \ $(SYSTEMD) execute_after_dh_install: ifeq ($(DEB_HOST_ARCH_OS),linux) dh_install -pgnome-keyring usr/lib/systemd/user endif override_dh_auto_test: env -u LD_PRELOAD dbus-run-session -- dh_auto_test # This appears to log the user out of gnome-keyring when upgrading gnome-keyring # which is disruptive since gnome-keyring by default is silently unlocked so # people may be unaware that its password is set to the user's initial password # by default override_dh_installsystemduser: DH_COMPAT=13 dh_installsystemduser # We only use dh_gnome to automatically run dh_translations in Ubuntu override_dh_gnome: