File: rules

package info (click to toggle)
golang-github-docker-docker-credential-helpers 0.6.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, experimental, forky, sid, trixie
  • size: 300 kB
  • sloc: ansic: 345; makefile: 82; sh: 34
file content (17 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Prevent pass and secretservice from being built as /usr/bin/cmd
export DH_GOLANG_EXCLUDES := pass/cmd secretservice/cmd
export DH_GOLANG_EXCLUDES_ALL := 0

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

execute_after_dh_auto_build:
	GOPATH=$(shell pwd)/_build \
	GOCACHE=$(shell pwd)/_build/go-build \
	GO111MODULE=off \
		$(MAKE) pass secretservice

execute_after_dh_auto_clean:
	rm -rf bin