First commit

This commit is contained in:
John Zhao
2018-03-08 15:54:14 +08:00
commit 5f1168368f
18 changed files with 3024 additions and 0 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
include CommonDefs.mk
.DEFAULT_GOAL := help
.PHONY: help apidoc
help:
@echo "Usage:"
@echo " make help show help message"
@echo " make apidoc make api doc"
@echo " make opendoc open api doc (html)"
apidoc:
@$(call echo,Make $@)
@sh ./doc/build.sh
opendoc: apidoc
@$(call echo,Make $@)
@$(shell sh ./doc/langs.sh 1); \
for lang in "$${LANGS[@]}"; do \
html=./doc/output/$$lang/html/index.html; \
[ -f "$$html" ] && sh ./scripts/open.sh $$html; \
done