#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -Dauto_features=enabled \ -Dnautilus-actions=$(if $(filter hurd-i386 hurd-amd64 sh4 sparc64 x32,$(DEB_HOST_ARCH)),disabled,enabled) \ -Duse_native_appchooser=false override_dh_makeshlibs: dh_makeshlibs --no-act # We only use dh_gnome to automatically run dh_translations in Ubuntu override_dh_gnome: # p7zip is in Ubuntu "universe" override_dh_gencontrol: ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) dh_gencontrol -- \ -Vzip:Depends='unzip, zip' \ -Vzip:Suggests='7zip' else dh_gencontrol -- \ -Vzip:Depends='7zip' \ -Vzip:Suggests='unzip, zip' endif