]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: put a space between 'generated by make' and package statement
authorAndrew Gerrand <adg@golang.org>
Wed, 1 Feb 2012 21:52:22 +0000 (08:52 +1100)
committerAndrew Gerrand <adg@golang.org>
Wed, 1 Feb 2012 21:52:22 +0000 (08:52 +1100)
This prevents the message from showing up in godoc.

R=rsc
CC=golang-dev
https://golang.org/cl/5610046

src/pkg/go/build/Makefile
src/pkg/go/build/syslist.go

index c7ef6542e50913c3befe62a3dd2373c255e3570d..3bb3912cbb680bb24aa4d1b7c7b70cbe64bb1290 100644 (file)
@@ -4,6 +4,7 @@
 
 syslist.go: ../../../Make.inc Makefile
        echo '// Generated automatically by make.' >$@
+       echo >>$@
        echo 'package build' >>$@
        echo >>$@
        echo 'const goosList = "$(GOOS_LIST)"' >>$@
index ea21f3c74bb83b33a9fb6fc892e1f2e76d1f52d4..8a2db8fa336d343d671f5dfa18e196c2418e9dd9 100644 (file)
@@ -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