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