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