mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 11:44:49 +00:00
aa2c75e9ad
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
22 lines
357 B
Bash
Executable File
22 lines
357 B
Bash
Executable File
#!/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
|