]> git.sesse.net Git - ffmpeg/blob - doc/doxy-wrapper.sh
Merge commit 'd60c2d5216930ef98c7d4d6837d6229b37e0dcb3'
[ffmpeg] / doc / doxy-wrapper.sh
1 #!/bin/sh
2
3 OUT_DIR="${1}"
4 DOXYFILE="${2}"
5 DOXYGEN="${3}"
6
7 shift 3
8
9 if [ -e "VERSION" ]; then
10     VERSION=`cat "VERSION"`
11 else
12     VERSION=`git describe`
13 fi
14
15 $DOXYGEN - <<EOF
16 @INCLUDE        = ${DOXYFILE}
17 INPUT           = $@
18 HTML_TIMESTAMP  = NO
19 PROJECT_NUMBER  = $VERSION
20 OUTPUT_DIRECTORY = $OUT_DIR
21 EOF