#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export QT_SELECT = qt5 # Most (if not all) of the errors are false positives. export DEB_CXXFLAGS_MAINT_APPEND = -Wno-unused-but-set-variable BUILDDIR = _build/ %: dh $@ --buildsystem=qmake --builddirectory=$(BUILDDIR) override_dh_clean: dh_clean find . -name "*.qm" -delete override_dh_auto_configure: dh_auto_configure -- ../OSCAR_QT.pro # Upstream ships with a 'history' directory containing ancient code. # We are not interested in installing it. override_dh_installchangelogs: dh_installchangelogs --exclude=history