#!/usr/bin/make -f
export DH_OPTIONS
export DH_GOPKG := github.com/coreos/etcd
export DH_GOLANG_EXCLUDES := github.com/coreos/etcd/Godeps/.*

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

override_dh_auto_configure:
	dh_auto_configure
	./debian/cleanup_third_party.sh

override_dh_auto_test:
	./test

override_dh_auto_clean:
	dh_auto_clean
	rm -rf bin/
	rm -rf gopath/
