#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed %: dh $@ --with gnome override_dh_autoreconf: dh_autoreconf --as-needed # s390x and non-Linux don't have GNOME Shell ifneq ($(DEB_HOST_ARCH_OS),linux) CONFFLAGS = --disable-search-provider endif ifeq ($(DEB_HOST_ARCH_CPU),s390x) CONFFLAGS = --disable-search-provider endif override_dh_auto_configure: dh_auto_configure -- \ --libexecdir=\$${prefix}/lib/gnome-terminal \ $(CONFFLAGS) override_dh_auto_build: dh_auto_build /usr/bin/docbook-to-man debian/gnome-terminal.sgml > debian/gnome-terminal.1 override_dh_auto_clean: dh_auto_clean rm -f debian/gnome-terminal.1 override_dh_install: find debian/tmp -name '*.a' -print -delete find debian/tmp -name '*.la' -print -delete dh_install override_dh_missing: dh_missing --fail-missing