OSDN Git Service

doxygen: Set EXAMPLE_PATH from within doxy-wrapper.sh
authorDiego Biurrun <diego@biurrun.de>
Tue, 11 Feb 2014 20:31:58 +0000 (21:31 +0100)
committerDiego Biurrun <diego@biurrun.de>
Fri, 14 Feb 2014 11:01:35 +0000 (12:01 +0100)
This allows using the libav source path as the example path.

doc/Doxyfile
doc/doxy-wrapper.sh

index 349db1a..58f7dfb 100644 (file)
@@ -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
index 6650e38..e1b8363 100755 (executable)
@@ -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