avfilter/vf_mix: add scale option
[ffmpeg.git] / doc / doxy-wrapper.sh
index e1b8363..fe0102b 100755 (executable)
@@ -1,15 +1,21 @@
 #!/bin/sh
 
-SRC_PATH="${1}"
+OUT_DIR="${1}"
 DOXYFILE="${2}"
+DOXYGEN="${3}"
 
-shift 2
+shift 3
 
-doxygen - <<EOF
+if [ -e "VERSION" ]; then
+    VERSION=`cat "VERSION"`
+else
+    VERSION=`git describe`
+fi
+
+$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
+HTML_TIMESTAMP  = NO
+PROJECT_NUMBER  = $VERSION
+OUTPUT_DIRECTORY = $OUT_DIR
 EOF