#!/usr/bin/make -f export V=1 #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed export QT_SELECT=qt5 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DH_EXTRA_ARGS := --with autoreconf DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifeq ($(DEB_HOST_ARCH_OS),linux) DH_EXTRA_ARGS += --with systemd endif %: dh $@ $(DH_EXTRA_ARGS) override_dh_auto_configure: dh_auto_configure -Sautoconf -- \ --enable-cli --enable-daemon \ --enable-external-natpmp # qt client has a separate build-system dh_auto_configure -Sqmake -Dqt -- DEFINES+=TRANSLATIONS_DIR=\\\\\\\"/usr/share/qt5/translations\\\\\\\" override_dh_auto_build: dh_auto_build -Sautoconf dh_auto_build -Sqmake -Dqt (cd qt && lrelease qtr.pro) override_dh_auto_clean: dh_auto_clean -Sautoconf dh_auto_clean -Sqmake -Dqt rm -f qt/translations/*.qm rm -f m4/glib-gettext.m4 override_dh_installchangelogs: dh_installchangelogs -p transmission-common NEWS.md override_dh_installdocs: dh_installdocs -p transmission-common override_dh_installexamples: dh_installexamples -p transmission-common override_dh_install: dh_install --list-missing -X LICENSE # extra copy in web dir - costela 2008-08-15 override_dh_auto_install: dh_auto_install -Sautoconf dh_auto_install -Sqmake -Dqt -- INSTALL_ROOT=$(CURDIR)/debian/tmp/usr override_dh_strip: dh_strip --dbgsym-migration='transmission-dbg (<< 2.92-1~)' override_dh_bugfiles: dh_bugfiles -A