2012-10-29 15:26:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
SRC_PATH="${1}"
|
|
|
|
DOXYFILE="${2}"
|
2014-07-07 22:24:48 +00:00
|
|
|
DOXYGEN="${3}"
|
2012-10-29 15:26:59 +00:00
|
|
|
|
2014-07-07 22:24:48 +00:00
|
|
|
shift 3
|
2012-10-29 15:26:59 +00:00
|
|
|
|
2015-02-01 23:21:01 +00:00
|
|
|
if [ -e "$SRC_PATH/VERSION" ]; then
|
|
|
|
VERSION=`cat "$SRC_PATH/VERSION"`
|
|
|
|
else
|
|
|
|
VERSION=`cd "$SRC_PATH"; git describe`
|
|
|
|
fi
|
|
|
|
|
2014-07-07 22:24:48 +00:00
|
|
|
$DOXYGEN - <<EOF
|
2012-10-29 15:26:59 +00:00
|
|
|
@INCLUDE = ${DOXYFILE}
|
|
|
|
INPUT = $@
|
2014-02-15 14:50:29 +00:00
|
|
|
EXAMPLE_PATH = ${SRC_PATH}/doc/examples
|
2015-02-01 23:20:18 +00:00
|
|
|
HTML_TIMESTAMP = NO
|
2015-02-01 23:21:01 +00:00
|
|
|
PROJECT_NUMBER = $VERSION
|
2012-10-29 15:26:59 +00:00
|
|
|
EOF
|