You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-boardvoting/debian/rules

17 lines
465 B
Makefile

#!/usr/bin/make -f
%:
dh $@
DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
DEB_VERSION=$(shell dpkg-parsechangelog -S Version)
override_dh_auto_build:
GOCACHE=$(CURDIR)/tmp/.cache \
GOPATH=$(CURDIR)/tmp/gocode \
go get -u -v github.com/shulhan/go-bindata/cmd/go-bindata ; \
PATH=$(CURDIR)/tmp/gocode/bin:$(PATH) make GOCACHE=$(CURDIR)/tmp/.cache GOPATH=$(CURDIR)/tmp/gocode VERSION=$(DEB_VERSION)