Make config/Makefile use user Go installation.

Otherwise it will fail to "go get" the "github.com/golang/protobuf"
package because its dir already exists in the vendored packages,
but the copy isn't a git repository.
This commit is contained in:
Julius Volz 2015-02-17 02:05:17 +01:00
parent 5643587cc9
commit 464524fa44

View file

@ -18,5 +18,5 @@ SUFFIXES:
include ../Makefile.INCLUDE
generated/config.pb.go: config.proto
$(GO) get github.com/golang/protobuf/protoc-gen-go
go get github.com/golang/protobuf/protoc-gen-go
$(PROTOC) --proto_path=$(PREFIX)/include:. --go_out=generated/ config.proto