2012-10-29 15:26:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-12-20 21:20:57 +00:00
|
|
|
OUT_DIR="${1}"
|
2021-04-24 12:52:27 +00:00
|
|
|
SRC_DIR="${2}"
|
|
|
|
DOXYFILE="${3}"
|
|
|
|
DOXYGEN="${4}"
|
2012-10-29 15:26:59 +00:00
|
|
|
|
2021-04-24 12:52:27 +00:00
|
|
|
shift 4
|
|
|
|
|
|
|
|
cd ${SRC_DIR}
|
2012-10-29 15:26:59 +00:00
|
|
|
|
2015-12-20 21:20:57 +00:00
|
|
|
if [ -e "VERSION" ]; then
|
|
|
|
VERSION=`cat "VERSION"`
|
2015-02-01 23:21:01 +00:00
|
|
|
else
|
2015-12-20 21:20:57 +00:00
|
|
|
VERSION=`git describe`
|
2015-02-01 23:21:01 +00:00
|
|
|
fi
|
|
|
|
|
2014-07-07 22:24:48 +00:00
|
|
|
$DOXYGEN - <<EOF
|
2012-10-29 15:26:59 +00:00
|
|
|
@INCLUDE = ${DOXYFILE}
|
|
|
|
INPUT = $@
|
2015-02-01 23:20:18 +00:00
|
|
|
HTML_TIMESTAMP = NO
|
2015-02-01 23:21:01 +00:00
|
|
|
PROJECT_NUMBER = $VERSION
|
2015-12-20 21:20:57 +00:00
|
|
|
OUTPUT_DIRECTORY = $OUT_DIR
|
2012-10-29 15:26:59 +00:00
|
|
|
EOF
|