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.
|
|
|
|
|
2012-03-08 13:39:20 +00:00
|
|
|
RAWHTML=\
|
|
|
|
articles/defer_panic_recover.rawhtml\
|
|
|
|
articles/error_handling.rawhtml\
|
|
|
|
articles/slices_usage_and_internals.rawhtml\
|
|
|
|
articles/laws_of_reflection.rawhtml\
|
2012-03-14 02:03:11 +00:00
|
|
|
articles/c_go_cgo.rawhtml\
|
2012-03-27 03:03:46 +00:00
|
|
|
articles/concurrency_patterns.rawhtml\
|
2012-03-15 03:51:44 +00:00
|
|
|
articles/godoc_documenting_go_code.rawhtml\
|
2012-03-15 21:21:13 +00:00
|
|
|
articles/gobs_of_data.rawhtml\
|
2012-03-22 07:25:40 +00:00
|
|
|
articles/json_and_go.rawhtml\
|
2012-03-27 02:35:40 +00:00
|
|
|
articles/json_rpc_tale_of_interfaces.rawhtml\
|
2012-03-14 00:27:41 +00:00
|
|
|
articles/image_draw.rawhtml\
|
2012-03-28 03:20:51 +00:00
|
|
|
articles/image_package.rawhtml\
|
2012-03-08 13:39:20 +00:00
|
|
|
effective_go.rawhtml\
|
|
|
|
go1.rawhtml\
|
2011-12-12 22:44:06 +00:00
|
|
|
|
2012-03-08 13:39:20 +00:00
|
|
|
all: $(RAWHTML)
|
2011-11-01 16:45:04 +00:00
|
|
|
|
2012-03-08 13:39:20 +00:00
|
|
|
%.rawhtml: %.html
|
2012-03-14 00:27:41 +00:00
|
|
|
godoc -url /doc/$< >$@
|
2012-03-06 21:05:10 +00:00
|
|
|
|
|
|
|
clean:
|
2012-03-14 02:03:11 +00:00
|
|
|
rm -f $(RAWHTML)
|
2012-09-02 19:49:03 +00:00
|
|
|
|
|
|
|
compare:
|
|
|
|
for i in $(RAWHTML); do \
|
|
|
|
godoc -url /doc/$${i/.rawhtml/.html} | diff -u $$i -; \
|
|
|
|
done
|