cacert-boardvoting/debian/rules

19 lines
499 B
Text
Raw Normal View History

2019-08-01 12:21:29 +00:00
#!/usr/bin/make -f
DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
2019-08-13 10:49:25 +00:00
include /usr/share/dpkg/pkg-info.mk
2019-08-01 12:21:29 +00:00
2019-08-13 10:49:25 +00:00
%:
dh $@
2019-08-01 12:21:29 +00:00
override_dh_auto_build:
GOCACHE=$(CURDIR)/tmp/.cache \
GOPATH=$(CURDIR)/tmp/gocode \
go get -u -v github.com/shulhan/go-bindata/cmd/go-bindata ; \
2019-08-13 10:49:25 +00:00
PATH=$(CURDIR)/tmp/gocode/bin:$(PATH) $(MAKE) GOCACHE=$(CURDIR)/tmp/.cache GOPATH=$(CURDIR)/tmp/gocode VERSION=$(DEB_VERSION)
2019-08-13 10:56:29 +00:00
override_dh_dwz:
dh_dwz -X cacert-boardvoting