===================================================================
@@ -106,6 +106,7 @@ if NATIVE
bin_PROGRAMS = go$(EXEEXT) gofmt$(EXEEXT)
noinst_PROGRAMS = cgo$(EXEEXT)
+man_MANS = go.1 gofmt.1
go$(EXEEXT): $(go_cmd_go_files) zdefaultcc.go $(LIBGODEP)
$(GOLINK) $(go_cmd_go_files) zdefaultcc.go $(LIBS) $(NET_LIBS)
===================================================================
@@ -0,0 +1,12 @@
+.TH go "1" "January 2015" "Go" "User Commands"
+.SH NAME
+go \- build, test, install Go programs
+.SH SYNOPSIS
+.B go
+\fIcommand\fR [\fIarguments\fR]
+.SH DESCRIPTION
+.PP
+A tool for managing Go source code. For full documentation run
+\fBgo help\fR or see \fBhttp://golang.org/cmd/go\fR.
+.SH "SEE ALSO"
+.IR gofmt (1)
===================================================================
@@ -0,0 +1,12 @@
+.TH gofmt "1" "January 2015" "Go" "User Commands"
+.SH NAME
+gofmt \- format Go code
+.SH SYNOPSIS
+.B gofmt
+[\fIflags\fR] [\fIpath\fR]...
+.SH DESCRIPTION
+.PP
+A tool for formatting Go source code. For full documentation run
+\fBgofmt -help\fR or see \fBhttp://golang.org/cmd/gofmt\fR.
+.SH "SEE ALSO"
+.IR go (1)