summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-11 21:31:58 +0100
committerDiego Biurrun <diego@biurrun.de>2014-02-14 12:01:35 +0100
commit19d3127867f001d007f98bc8c5a85c5409abf788 (patch)
treed6133c8d74d2191f438a896e603d0effcaa71219
parentf1f42cfc66804907d1df9231469e4296472bb0f5 (diff)
doxygen: Set EXAMPLE_PATH from within doxy-wrapper.sh
This allows using the libav source path as the example path.
-rw-r--r--doc/Doxyfile3
-rwxr-xr-xdoc/doxy-wrapper.sh1
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/Doxyfile b/doc/Doxyfile
index 349db1aea5..58f7dfbece 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -639,8 +639,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH = libavcodec/ \
- libavformat/
+EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh
index 6650e38850..e1b8363e5f 100755
--- a/doc/doxy-wrapper.sh
+++ b/doc/doxy-wrapper.sh
@@ -8,6 +8,7 @@ shift 2
doxygen - <<EOF
@INCLUDE = ${DOXYFILE}
INPUT = $@
+EXAMPLE_PATH = ${SRC_PATH}/
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