#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := example/server example/echo		\
	example/proto example/client internal/v2/fakes2av2_server	\
	tools/internal_ci/test_gae

export DH_GOLANG_INSTALL_EXTRA := testdata/

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

override_dh_auto_build:
	$(CURDIR)/tools/proto/regenerate_proto.sh
	dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
