1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:57:57 -07:00

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://golang.org/cl/12751047
This commit is contained in:
Andrew Gerrand 2013-08-16 13:14:13 +10:00
parent f0fef32383
commit b1d64f20f2

10
misc/dist/bindist.go vendored
View File

@ -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 {