#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := benchmarks

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_auto_test:
	# Disable tests requires network to resolve hostname
	dh_auto_test -- -short -skip="\
	TestGetHostByName|\
	"
