summaryrefslogtreecommitdiffhomepage
path: root/Makefile.doc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-08-19 07:29:46 +0900
committerGitHub <[email protected]>2019-08-19 07:29:46 +0900
commitb5e2d208b9030290dffffa47f2591b19b731287d (patch)
treed604a4bc678fbf10708d71273dc6d8997093f7aa /Makefile.doc
parentfe8428b33bfb337dbaca4d0af917b386b550039f (diff)
parentb5299b1c5832a4eb9d6c6becfab76d76570c91ab (diff)
downloadmruby-b5e2d208b9030290dffffa47f2591b19b731287d.tar.gz
mruby-b5e2d208b9030290dffffa47f2591b19b731287d.zip
Merge pull request #4636 from davidsiaw/doxygen
Generate doxygen docs for mruby
Diffstat (limited to 'Makefile.doc')
-rw-r--r--Makefile.doc15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.doc b/Makefile.doc
new file mode 100644
index 000000000..cf95c187f
--- /dev/null
+++ b/Makefile.doc
@@ -0,0 +1,15 @@
+SRCS=$(shell find src -name '*.c')
+HEADERS=$(shell find include -name '*.h')
+MDDOCS=$(shell find doc -name '*.md')
+
+doxygen : Doxyfile $(SRCS) $(HEADERS) $(MDDOCS)
+ doxygen Doxyfile
+
+docs : doxygen
+
+docserver : docs
+ firefox doxygen/html/index.html
+
+docsclean :
+ rm -r doxygen
+.PHONY : docserver docsclean