#!/usr/bin/make -f

# Install files for tests run
export DH_GOLANG_INSTALL_EXTRA := tests

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

execute_after_dh_auto_test:
	find debian/_build \( -name tmp.kdbx -or -name new.kdbx \) -delete
