diff --git a/doc/Makefile b/doc/Makefile
index 29d7e2c068d..7957a0d0aa1 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -9,10 +9,9 @@ GOFILES=\
tmpltohtml.go\
go_tutorial.html: go_tutorial.tmpl tmpltohtml
- makehtml go_tutorial.tmpl
+ ./makehtml go_tutorial.tmpl
effective_go.html: effective_go.tmpl tmpltohtml
- makehtml effective_go.tmpl
-
+ ./makehtml effective_go.tmpl
include ../src/Make.cmd
diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html
index 8f6e07b06c5..40c793057ff 100644
--- a/doc/go_tutorial.html
+++ b/doc/go_tutorial.html
@@ -104,7 +104,7 @@ With gccgo
it looks a little more traditional.
$ gccgo helloworld.go -$ a.out +$ ./a.out Hello, world; or Καλημέρα κόσμε; or こんにちは 世界 $@@ -706,7 +706,7 @@ Now we can compile and run the program. On Unix, this would be the result: $ 6g file.go # compile file package $ 6g helloworld3.go # compile main package $ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file" -$ helloworld3 +$ ./helloworld3 hello, world can't open file; err=No such file or directory $ diff --git a/doc/go_tutorial.tmpl b/doc/go_tutorial.tmpl index 15f87ca4b29..4377dabde0f 100644 --- a/doc/go_tutorial.tmpl +++ b/doc/go_tutorial.tmpl @@ -96,7 +96,7 @@ With
gccgo
it looks a little more traditional.
$ gccgo helloworld.go -$ a.out +$ ./a.out Hello, world; or Καλημέρα κόσμε; or こんにちは 世界 $@@ -547,7 +547,7 @@ Now we can compile and run the program. On Unix, this would be the result: $ 6g file.go # compile file package $ 6g helloworld3.go # compile main package $ 6l -o helloworld3 helloworld3.6 # link - no need to mention "file" -$ helloworld3 +$ ./helloworld3 hello, world can't open file; err=No such file or directory $