#!/usr/bin/make -f

#export DH_VERBOSE = 1

export GOCACHE=$(CURDIR)/debian/vendor
export GOPATH=$(CURDIR)/debian/vendor

%:
	dh $@ --buildsystem=golang

override_dh_auto_build:
	go build -buildvcs=false -mod=readonly -trimpath -ldflags "-s -w" -o naabu cmd/naabu/main.go

override_dh_dwz:

override_dh_auto_test:
	# tests fail because the depends are missing.
