#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Most (if not all) of the errors are false positives. export DEB_CXXFLAGS_MAINT_APPEND = -Wno-unused-but-set-variable BUILDDIR = _build/ %: dh $@ --buildsystem=qmake6 --builddirectory=$(BUILDDIR) override_dh_auto_configure: dh_auto_configure -- \ "DEFINES+=NO_CHECKUPDATES" \ ../OSCAR_QT.pro # Upstream names the binary OSCAR20. We rename it to OSCAR. execute_after_dh_install: mv -v debian/oscar/usr/bin/OSCAR20 debian/oscar/usr/bin/OSCAR # Upstream ships with a 'history' directory containing ancient code. # We are not interested in installing it. override_dh_installchangelogs: dh_installchangelogs --exclude=history