mirror of
https://github.com/golang/go
synced 2024-11-21 07:54:41 -07:00
5b7562dd6f
cgo[1-4].go, go1.go couldn't be tested now (cgo[1-4].go can only be tested when cgo is enabled, go1.go contain a list of filenames in the current directory) R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/6218048
33 lines
834 B
Makefile
33 lines
834 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.
|
|
|
|
RAWHTML=\
|
|
articles/defer_panic_recover.rawhtml\
|
|
articles/error_handling.rawhtml\
|
|
articles/slices_usage_and_internals.rawhtml\
|
|
articles/laws_of_reflection.rawhtml\
|
|
articles/c_go_cgo.rawhtml\
|
|
articles/concurrency_patterns.rawhtml\
|
|
articles/godoc_documenting_go_code.rawhtml\
|
|
articles/gobs_of_data.rawhtml\
|
|
articles/json_and_go.rawhtml\
|
|
articles/json_rpc_tale_of_interfaces.rawhtml\
|
|
articles/image_draw.rawhtml\
|
|
articles/image_package.rawhtml\
|
|
effective_go.rawhtml\
|
|
go1.rawhtml\
|
|
|
|
all: $(RAWHTML)
|
|
|
|
%.rawhtml: %.html
|
|
godoc -url /doc/$< >$@
|
|
|
|
clean:
|
|
rm -f $(RAWHTML)
|
|
|
|
compare:
|
|
for i in $(RAWHTML); do \
|
|
godoc -url /doc/$${i/.rawhtml/.html} | diff -u $$i -; \
|
|
done
|