[vlc-commits] commit: Create a special script for Doxygen, instead of the toolbox ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sat Aug 14 17:30:05 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Aug 14 17:25:56 2010 +0200| [6ee2e79bee89bd7d3657201c803c9a618b0b2af9] | committer: Jean-Baptiste Kempf 

Create a special script for Doxygen, instead of the toolbox

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ee2e79bee89bd7d3657201c803c9a618b0b2af9
---

 doc/Doxyfile.in   |    2 +-
 doc/doc_helper.sh |   23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 4c234a8..b8886e3 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -663,7 +663,7 @@ IMAGE_PATH             =
 # If FILTER_PATTERNS is specified, this tag will be
 # ignored.
 
-INPUT_FILTER           = "@top_srcdir@/toolbox --add-include"
+INPUT_FILTER           = "@top_srcdir@/doc/doc_helper.sh"
 
 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
 # basis.
diff --git a/doc/doc_helper.sh b/doc/doc_helper.sh
new file mode 100644
index 0000000..4527b49
--- /dev/null
+++ b/doc/doc_helper.sh
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+# Add <vlc_common.h> before most headers
+# from old toolbox
+
+# Clean env
+LC_ALL=C
+export LC_ALL
+LANG=C
+export LANG
+
+if test "$1" = "" ; then
+  exit 0
+fi
+
+##  Add includes to help doxygen
+case "$1" in
+  */vlc_common.h|*/include/vlc/*);;
+  */include/*.h) echo "#include <vlc_common.h>" ;;
+esac
+cat $1
+exit 0
+



More information about the vlc-commits mailing list