#!/usr/bin/make -f
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


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

override_dh_auto_build:
	# output.go embeds fingerprints.json, so it needs to be able to find it during the build
	mkdir -p $(CURDIR)_build/src/github.com/haccer/subjack/subjack
	cp subjack/fingerprints.json \
		_build/src/github.com/haccer/subjack/subjack/
	dh_auto_build


override_dh_auto_install:
	dh_auto_install -- --no-source
