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
|