#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := example

%:
	dh $@ --builddirectory=debian/_build

override_dh_auto_test:
ifneq (,$(filter sppc64el riscv64 390x,$(DEB_HOST_ARCH)))
	@echo "tests on $(DEB_HOST_ARCH) iare not officially supported from upstream."
	xvfb-run -a dh_auto_test || true
else
	xvfb-run -a dh_auto_test
endif
