]> Cypherpunks repositories - gostls13.git/commitdiff
template: add doc.go to Makefile
authorMike Samuel <mikesamuel@gmail.com>
Wed, 14 Sep 2011 01:50:02 +0000 (18:50 -0700)
committerMike Samuel <mikesamuel@gmail.com>
Wed, 14 Sep 2011 01:50:02 +0000 (18:50 -0700)
The template package is the only one that has a doc.go not mentioned
in its Makefile.

This doesn't seem to bother godoc, but seems like a bug to me.

$ for d in $(find pkg -name doc.go); do echo $d; grep doc.go $(dirname $d)/Makefile; done
pkg/fmt/doc.go
        doc.go\
pkg/go/doc/doc.go
        doc.go\
pkg/gob/doc.go
        doc.go\
pkg/html/doc.go
        doc.go\
pkg/old/template/doc.go
        doc.go\
pkg/sync/atomic/doc.go
        doc.go\
pkg/template/doc.go

R=r
CC=golang-dev
https://golang.org/cl/5003047

src/pkg/template/Makefile

index 3ed3b03308baf652a70c1d2cbc4fce9979113b60..730b287aff8018ad6fdbf6f68270511420bc7557 100644 (file)
@@ -6,6 +6,7 @@ include ../../Make.inc
 
 TARG=template
 GOFILES=\
+       doc.go\
        exec.go\
        funcs.go\
        helper.go\