use /usr/share/dpkg/pkg-info.mk
This commit is contained in:
parent
5652bad40e
commit
dd196e0cb7
2 changed files with 8 additions and 7 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -3,6 +3,7 @@ cacert-boardvoting (0.6.0-2) UNRELEASED; urgency=medium
|
|||
* Add missing license reference
|
||||
* update for Debian buster
|
||||
* update to debhelper 12
|
||||
* use /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
-- Jan Dittberner <jandd@cacert.org> Mon, 12 Aug 2019 19:57:13 +0200
|
||||
|
||||
|
|
14
debian/rules
vendored
14
debian/rules
vendored
|
@ -1,16 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
DEB_BUILD_OPTIONS = nostrip
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
%:
|
||||
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)
|
||||
PATH=$(CURDIR)/tmp/gocode/bin:$(PATH) $(MAKE) GOCACHE=$(CURDIR)/tmp/.cache GOPATH=$(CURDIR)/tmp/gocode VERSION=$(DEB_VERSION)
|
||||
|
|
Loading…
Reference in a new issue