File: rules

package info (click to toggle)
goiardi 0.11.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,728 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (20 lines) | stat: -rwxr-xr-x 474 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

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 --fail-missing --exclude=go-chef