File: rules

package info (click to toggle)
golang-github-hashicorp-hcl-v2 2.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,120 kB
  • sloc: ruby: 205; makefile: 72; python: 43; sh: 11
file content (15 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := specsuite

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

# Avoid shipping some files:
override_dh_auto_install:
	# /usr/bin would get: hcldec, hclfmt, and hclspecsuite
	dh_auto_install -- --no-binaries
	# hashicorp/hcl/v2/specsuite/ would get:
	find debian/golang-github-hashicorp-hcl-v2-dev \
		\( -name 'tmp_hcldec' -o -name 'tmp_hclspecsuite' -o -name '.gitignore' \) \
		-print -delete