#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dtools=true
		
override_dh_auto_test:
# don't block on s390x, that's not a supported architecture for bluetooth audio
# i386 doesn't have the required depends
ifneq (,$(filter s390x i386,$(DEB_HOST_ARCH)))
	V= make test || true
else
	V= make test
endif

