#!/usr/bin/make -f

export DH_GOLANG_INSTALL_ALL := 1
#export DH_GOLANG_EXCLUDES := examples

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

override_dh_auto_test:
	@echo "Tests are disabled for now"

execute_after_dh_auto_install:
	rm -rf $(CURDIR)/debian/golang-github-felixge-httpsnoop-dev/usr/bin
	rm -rf $(CURDIR)/debian/golang-github-felixge-httpsnoop-dev/usr/share/gocode/src/github.com/felixge/httpsnoop/.gitignore
