#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie

export QT_SELECT=qt5

LDFLAGS+=-Wl,--as-needed

%:
	dh $@ --with=autoreconf,scour

override_dh_auto_configure:
	dh_auto_configure -- --enable-qt5 --with-pic

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp

override_dh_installchangelogs:
	dh_installchangelogs NEWS
