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