cacert-boardvoting/debian/rules

17 lines
479 B
Text
Raw Normal View History

2019-08-01 12:21:29 +00:00
#!/usr/bin/make -f
DEB_BUILD_MAINT_OPTIONS = hardening=+all
2019-08-13 10:49:25 +00:00
DEB_BUILD_OPTIONS = nostrip
2019-08-01 12:21:29 +00:00
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)