diff options
author | Andrew Gerrand <adg@golang.org> | 2013-08-16 13:14:13 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-08-16 13:14:13 +1000 |
commit | 5f934d8d9042aeb5f2fa00bddb31ea8352817307 (patch) | |
tree | 05d0576e4678f1da244bff666990314353bd6f83 | |
parent | ca676c15a24a5c525744a7f514cacbf99d785e36 (diff) | |
download | go-5f934d8d9042aeb5f2fa00bddb31ea8352817307.tar.gz |
misc/dist: don't copy godoc templates to lib/godoc
They're baked into the godoc binary now.
R=golang-dev, alex.brainman
CC=golang-dev
https://codereview.appspot.com/12751047
-rw-r--r-- | misc/dist/bindist.go | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/misc/dist/bindist.go b/misc/dist/bindist.go index 754bd280c..5bb3c8be1 100644 --- a/misc/dist/bindist.go +++ b/misc/dist/bindist.go @@ -424,15 +424,7 @@ func (b *Build) godoc() error { // go get the godoc package. // The go tool knows to install to $GOROOT/bin. _, err := b.run(b.gopath, filepath.Join(b.root, "bin", "go"), "get", godocPath) - if err != nil { - return err - } - - // Copy templates from go.tools/cmd/godoc/template to GOROOT/lib/godoc. - return cpDir( - filepath.Join(b.root, "lib", "godoc"), - filepath.Join(b.gopath, "src", filepath.FromSlash(godocPath), "template"), - ) + return err } func (b *Build) tour() error { |