# 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.
--- /dev/null
+#! /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
+