#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DH_GOPKG := github.com/smartystreets/goconvey
#export DH_GOLANG_INSTALL_ALL := 1
#export DH_GOLANG_EXCLUDES :=
MS=debian/missing-sources

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

#override_dh_auto_configure:
#	dh_auto_configure
#	cp -vf $(MS)/markup.js _build/src/$(DH_GOPKG)/web/client/js/markup.min.js

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

override_dh_auto_test:
	-dh_auto_test
