summaryrefslogtreecommitdiffstats
path: root/docs/Makefile
blob: 5104d81c20725fc683832ccdbda145919b9c5e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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_FOOTER=footer.jd HTML_OUTPUT=jd doxygen
	for file in jd/*.html; do mv "$${file}" "$${file/.html/.jd}"; done
	rm -f jd/index.jd