forked from KolibriOS/kolibrios
a4b787f4b8
git-svn-id: svn://kolibrios.org@6147 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
357 B
Bash
22 lines
357 B
Bash
#!/bin/sh
|
|
|
|
SRC_PATH="${1}"
|
|
DOXYFILE="${2}"
|
|
DOXYGEN="${3}"
|
|
|
|
shift 3
|
|
|
|
if [ -e "$SRC_PATH/VERSION" ]; then
|
|
VERSION=`cat "$SRC_PATH/VERSION"`
|
|
else
|
|
VERSION=`cd "$SRC_PATH"; git describe`
|
|
fi
|
|
|
|
$DOXYGEN - <<EOF
|
|
@INCLUDE = ${DOXYFILE}
|
|
INPUT = $@
|
|
EXAMPLE_PATH = ${SRC_PATH}/doc/examples
|
|
HTML_TIMESTAMP = NO
|
|
PROJECT_NUMBER = $VERSION
|
|
EOF
|