]> git.sesse.net Git - ffmpeg/blob - doc/doxy-wrapper.sh
Merge commit 'ce320cf1c4daab3e2e3726ed7d2e879d10f7b991'
[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