diff options
author | David Symonds <dsymonds@golang.org> | 2015-02-02 11:01:34 +1100 |
---|---|---|
committer | David Symonds <dsymonds@golang.org> | 2015-02-02 11:02:35 +1100 |
commit | 0256e764f91da8d0587e741b659c4d2591a0c9aa (patch) | |
tree | 8e03879345dfecf550522ca33b32669cf439b75a | |
parent | a11b6342f0e28eab4059c0cabbad38cef38b9b6e (diff) | |
download | protobuf-0256e764f91da8d0587e741b659c4d2591a0c9aa.tar.gz |
Stop recommending the use of Make.protobuf in README.
Make.protobuf was from the pre-go-tool world where Makefiles
were the recommended way to build Go programs. That's obsolete now,
and it doesn't improve the use of Makefiles if folk still use them.
Fixes #4.
-rw-r--r-- | README | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -112,19 +112,10 @@ Consider file test.proto, containing } } -To build a package from test.proto and some other Go files, write a -Makefile like this: - - include $(GOROOT)/src/Make.$(GOARCH) - - TARG=path/to/example - GOFILES=\ - test.pb.go\ - other.go - - include $(GOROOT)/src/Make.pkg - include $(GOROOT)/src/pkg/github.com/golang/protobuf/Make.protobuf +To build a package from test.proto, write a Makefile like this: + test.pb.go: test.proto + protoc --go_out=. $< To create and play with a Test object from the example package, |