#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := testdata
export DH_GOLANG_EXCLUDES := examples

%:
	dh $@ --buildsystem=golang --with=golang

ifneq ($(filter $(DEB_TARGET_ARCH), ppc64el),)
override_dh_auto_test:
# Workaround test fails on ppc64el: #976940
	-dh_auto_test
endif