#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# probably an endianness bug on big endian, made visible by new tests in 26.04
ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
  fail_param := || true
endif

override_dh_auto_configure:
	dh_auto_configure -Skf6 -- -DQT_MAJOR_VERSION=6

%:
	dh $@

override_dh_auto_test:
	# Disable unittest at build time
	:

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --builddirectory=build-qt6
