File: rules

package info (click to toggle)
golang-github-knadh-koanf 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 808 kB
  • sloc: sh: 31; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Exclude examples, and modules with deps not in Debian.
export DH_GOLANG_EXCLUDES = \
	examples \
	parsers/nestedtext \
	providers/consul \
	providers/etcd \
	providers/vault
export DH_GOLANG_INSTALL_EXTRA = mock

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

override_dh_auto_test:
	HOME= \
	dh_auto_test

override_dh_auto_install:
	dh_auto_install -- --no-binaries