#!/usr/bin/make -f

export QT_SELECT ?= qt5

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build-qt5 --buildsystem=qmake -- ..
	dh_auto_configure --builddirectory=build-qt6 --buildsystem=cmake -- ..

override_dh_auto_build:
	dh_auto_build --builddirectory=build-qt5 --buildsystem=qmake
	dh_auto_build --builddirectory=build-qt6 --buildsystem=cmake

override_dh_auto_install:
	dh_auto_install --builddirectory=build-qt5 --buildsystem=qmake
	dh_auto_install --builddirectory=build-qt6 --buildsystem=cmake

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
