matemat/uncanny/debian/rules

22 lines
577 B
Text
Raw Permalink Normal View History

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_GOLANG_BUILDPKG := git.kabelsalat.ch/ccc-basel/matemat/cmd/uncanny
export DH_GOPKG = git.kabelsalat.ch/ccc-basel/matemat
# use module mode and enable internet access
export GO111MODULE = on
export GOPROXY =
2021-02-13 14:38:56 +01:00
# this is needed for building on buster, but should be dropped on bullseye
export GOCACHE = cache
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
override_dh_auto_install:
dh_auto_install -- --no-source