summaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..356b2ce
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,14 @@
+HEADERS := $(wildcard ../include/android/*.h)
+
+all: html jd
+
+html: $(HEADERS) Doxyfile
+ mkdir -p html
+ doxygen
+
+jd: $(HEADERS) Doxyfile header.jd
+ mkdir -p jd
+ HTML_HEADER=header.jd HTML_OUTPUT=jd doxygen
+ for file in jd/*.html; do mv "$${file}" "$${file/\.html/\.jd}"; done
+ rm -f jd/index.jd
+