#!/usr/bin/make -f # Disable cgo to avoid lintian warn: 'hardening-no-fortify-functions' export CGO_ENABLED := 0 # Disable tests, because they try to access network and write to $HOME override_dh_auto_test: override_dh_auto_install: dh_auto_install -- --no-source override_dh_auto_build: dh_auto_build -- \ -buildmode=pie \ -ldflags="-extldflags -Wl,-z,now" %: dh $@ --builddirectory=_build --buildsystem=golang --with=golang