summaryrefslogtreecommitdiff
path: root/doc/doxy-wrapper.sh
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-29 16:26:59 +0100
committerAnton Khirnov <anton@khirnov.net>2012-11-02 18:28:56 +0100
commitb3fab1f2cd22bfaee95831af57a65f803f03083c (patch)
treeab5be8965a9c01115abd20dcba3f59143ff75950 /doc/doxy-wrapper.sh
parent34871beb5eb6bc59f5e58326a214efd88a4c2ccd (diff)
doc: add apidoc target for doxygen API documentation
Documentation includes only the externally visible API of the installed headers. Based on a patch by Anton Khirnov <anton@khirnov.net>. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/doxy-wrapper.sh')
-rwxr-xr-xdoc/doxy-wrapper.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh
new file mode 100755
index 0000000000..6650e38850
--- /dev/null
+++ b/doc/doxy-wrapper.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+SRC_PATH="${1}"
+DOXYFILE="${2}"
+
+shift 2
+
+doxygen - <<EOF
+@INCLUDE = ${DOXYFILE}
+INPUT = $@
+HTML_HEADER = ${SRC_PATH}/doc/doxy/header.html
+HTML_FOOTER = ${SRC_PATH}/doc/doxy/footer.html
+HTML_STYLESHEET = ${SRC_PATH}/doc/doxy/doxy_stylesheet.css
+EOF