File: rules

package info (click to toggle)
golang-goprotobuf 1.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 1,956 kB
  • sloc: sh: 42; makefile: 20
file content (14 lines) | stat: -rwxr-xr-x 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export BUILDDIR := $(CURDIR)/_build

%:
	dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with golang

execute_after_dh_auto_configure:
	cd $(BUILDDIR)/src/github.com/golang/protobuf; \
            GOPATH=$(BUILDDIR) GOCACHE=$(BUILDDIR)/go-build \
	    $(CURDIR)/regenerate.sh