From: Andrew Gerrand Date: Wed, 1 Feb 2012 21:52:22 +0000 (+1100) Subject: go/build: put a space between 'generated by make' and package statement X-Git-Tag: weekly.2012-02-07~144 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=55779917f35b4a6c85ad4d750719cffb53299849;p=gostls13.git go/build: put a space between 'generated by make' and package statement This prevents the message from showing up in godoc. R=rsc CC=golang-dev https://golang.org/cl/5610046 --- diff --git a/src/pkg/go/build/Makefile b/src/pkg/go/build/Makefile index c7ef6542e5..3bb3912cbb 100644 --- a/src/pkg/go/build/Makefile +++ b/src/pkg/go/build/Makefile @@ -4,6 +4,7 @@ syslist.go: ../../../Make.inc Makefile echo '// Generated automatically by make.' >$@ + echo >>$@ echo 'package build' >>$@ echo >>$@ echo 'const goosList = "$(GOOS_LIST)"' >>$@ diff --git a/src/pkg/go/build/syslist.go b/src/pkg/go/build/syslist.go index ea21f3c74b..8a2db8fa33 100644 --- a/src/pkg/go/build/syslist.go +++ b/src/pkg/go/build/syslist.go @@ -1,6 +1,4 @@ -// Copyright 2011 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// Generated automatically by make. package build