2009-10-14 05:10:16 +00:00
|
|
|
# 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.
|
|
|
|
|
2011-12-12 22:44:06 +00:00
|
|
|
HTML=\
|
|
|
|
articles/defer_panic_recover.html\
|
|
|
|
articles/error_handling.html\
|
2012-01-05 22:21:43 +00:00
|
|
|
articles/slices_usage_and_internals.html\
|
2012-02-29 23:05:51 +00:00
|
|
|
articles/laws_of_reflection.html\
|
2011-12-12 22:44:06 +00:00
|
|
|
effective_go.html\
|
|
|
|
go1.html\
|
|
|
|
|
|
|
|
all: tmpltohtml $(HTML)
|
2011-11-01 16:45:04 +00:00
|
|
|
|
2012-02-08 02:07:13 +00:00
|
|
|
tmpltohtml: tmpltohtml.go
|
|
|
|
go build tmpltohtml.go
|
|
|
|
|
2011-12-07 22:33:37 +00:00
|
|
|
%.html: %.tmpl tmpltohtml
|
2012-03-06 21:05:10 +00:00
|
|
|
./tmpltohtml $*.tmpl > $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(HTML) tmpltohtml
|