File: rules

package info (click to toggle)
goiardi 0.11.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,692 kB
  • sloc: sql: 4,994; makefile: 158; sh: 95; python: 30
file content (23 lines) | stat: -rwxr-xr-x 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export GOPATH := $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)

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

override_dh_auto_build-arch:
	dh_auto_build -- -tags novault

override_dh_auto_build-indep:
	$(MAKE) -C docs html

override_dh_auto_test:
	cp -a cookbook/*.json $(GOPATH)/src/github.com/ctdk/goiardi/cookbook
	dh_auto_test -- -tags novault

override_dh_install:
	dh_install --exclude=go-chef

override_dh_missing:
	dh_missing --fail-missing