mirror of
https://github.com/golang/go
synced 2024-11-24 17:30:18 -07:00
efbd79ce5a
Due to removal of go_tutorial, unused programs are removed. makehtml is unnecessary (it also gives wrong messages when the destination file doesn't exist) progs/run now compiles all remaining programs under doc/progs. Fixes #3076 (again) R=golang-dev, adg CC=golang-dev https://golang.org/cl/5755053
23 lines
505 B
Makefile
23 lines
505 B
Makefile
# Copyright 2009 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.
|
|
|
|
HTML=\
|
|
articles/defer_panic_recover.html\
|
|
articles/error_handling.html\
|
|
articles/slices_usage_and_internals.html\
|
|
articles/laws_of_reflection.html\
|
|
effective_go.html\
|
|
go1.html\
|
|
|
|
all: tmpltohtml $(HTML)
|
|
|
|
tmpltohtml: tmpltohtml.go
|
|
go build tmpltohtml.go
|
|
|
|
%.html: %.tmpl tmpltohtml
|
|
./tmpltohtml $*.tmpl > $@
|
|
|
|
clean:
|
|
rm -f $(HTML) tmpltohtml
|