#!/usr/bin/make -f

# Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export GOCACHE=$(CURDIR)/_build
export GOPATH=$(CURDIR)/_build


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

override_dh_auto_install:
	dh_auto_install -- --no-source

execute_before_dh_link:
	rm -rf debian/patchleaks/usr/share/patchleaks/static/webfonts
	rm debian/patchleaks/usr/share/patchleaks/static/js/jquery.min.js
