Update mkalldocs.sh from the current master sources, replacing the old
mkdoc.sh.  I think this got left out of the merges.  Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Ian
Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE     (revision 259919)
+++ gcc/go/gofrontend/MERGE     (working copy)
@@ -1,4 +1,4 @@
-12325f36d965e2ac3a4cbf787472ce24923327da
+30e2033a91fc08be9351d26737599a1fa6486017
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/go/cmd/go/mkalldocs.sh
===================================================================
--- libgo/go/cmd/go/mkalldocs.sh        (nonexistent)
+++ libgo/go/cmd/go/mkalldocs.sh        (working copy)
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Copyright 2012 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.
+
+set -e
+
+go build -o go.latest
+./go.latest help documentation >alldocs.go
+gofmt -w alldocs.go
+rm go.latest

Property changes on: libgo/go/cmd/go/mkalldocs.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libgo/go/cmd/go/mkdoc.sh
===================================================================
--- libgo/go/cmd/go/mkdoc.sh    (revision 259805)
+++ libgo/go/cmd/go/mkdoc.sh    (nonexistent)
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Copyright 2012 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.
-
-go install # So the next line will produce updated documentation.
-go help documentation > doc.go
-gofmt -w doc.go
-

Reply via email to