1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
export DH_VERBOSE := 1
# Exclude cas/cloudcas, kms/cloudkms and cmd/step-cloudkms-init until golang-google-cloud
# in repos has been updated to v0.83.0
export DH_GOLANG_EXCLUDES := cmd cas/cloudcas kms/cloudkms kms/azurekms cas/vaultcas examples
export CI := true
#include /usr/share/dpkg/pkg-info.mk
#VERSION = $(shell echo $(DEB_VERSION) | cut -d- -f1)
#LDFLAGS := -ldflags '-w -X "main.Version=$(VERSION)"'
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
execute_before_dh_auto_configure:
rm -f acme/challenge_test.go acme/db/nosql/challenge_test.go
#override_dh_auto_build:
#dh_auto_build -- $(LDFLAGS)
|