doxy-wrapper.sh 305 Bytes
Newer Older
1 2
#!/bin/sh

3
OUT_DIR="${1}"
4
DOXYFILE="${2}"
5
DOXYGEN="${3}"
6

7
shift 3
8

9 10
if [ -e "VERSION" ]; then
    VERSION=`cat "VERSION"`
11
else
12
    VERSION=`git describe`
13 14
fi

15
$DOXYGEN - <<EOF
16 17
@INCLUDE        = ${DOXYFILE}
INPUT           = $@
18
HTML_TIMESTAMP  = NO
19
PROJECT_NUMBER  = $VERSION
20
OUTPUT_DIRECTORY = $OUT_DIR
21
EOF