20 lines
479 B
Text
20 lines
479 B
Text
|
#!/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 =
|
||
|
|
||
|
%:
|
||
|
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
|
||
|
|
||
|
override_dh_auto_install:
|
||
|
dh_auto_install -- --no-source
|