#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples

BINDIR=$(CURDIR)/debian/wormhole-william/usr/bin

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

override_dh_installman:
	help2man --no-info --name="Magic wormhole CLI and API in Go" $(BINDIR)/wormhole-william > debian/wormhole-william.1
	dh_installman
