#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := data

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

override_dh_install:
	dh_install -O--builddirectory=_build -O--buildsystem=golang -O--with=golang
	rm -rf debian/golang-github-hhatto-gorst-dev/usr/share/gocode/src/github.com/hhatto/gorst/*.html
