1HEADERS := $(wildcard ../include/android/*.h) 2 3all: html jd 4 5html: $(HEADERS) Doxyfile 6 mkdir -p html 7 doxygen 8 9jd: $(HEADERS) Doxyfile header.jd 10 mkdir -p jd 11 HTML_HEADER=header.jd HTML_FOOTER=footer.jd HTML_OUTPUT=jd doxygen 12 for file in jd/*.html; do mv "$${file}" "$${file/.html/.jd}"; done 13 rm -f jd/index.jd 14