#!/usr/bin/make -f

export DH_GOLANG_INSTALL_ALL := 1

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

override_dh_auto_install:
	dh_auto_install -- --no-source

# Developer and regression-test tools, not useful on an installed system
execute_after_dh_auto_install:
	rm -f debian/davical-go/usr/bin/davical-test \
	      debian/davical-go/usr/bin/fbtest \
	      debian/davical-go/usr/bin/accept-etag-only
