File: rules

package info (click to toggle)
golang-github-smallstep-certificates 0.20.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,144 kB
  • sloc: sh: 278; makefile: 170
file content (19 lines) | stat: -rwxr-xr-x 653 bytes parent folder | download
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)