#!/usr/bin/make -f
# -*- makefile -*-

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

export GOPATH=$(CURDIR)
export GOCACHE=$(CURDIR)/.cache

%:
	echo "HOME="${HOME}
	dh $@

override_dh_auto_build:
	ln -s vendor src
	dh_auto_build
	make man

override_dh_auto_test:
	dh_auto_test --no-parallel

override_dh_auto_clean:
	dh_auto_clean
	rm -f man/*.1 src
