mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
This removes the duplicated version file lookup, which would have broken with the rename of the VERSION file to FF_VERSION, and makes the doxygen PROJECT_NUMBER match FFMPEG_VERSION for git builds.
21 lines
280 B
Bash
Executable File
21 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
|
|
OUT_DIR="${1}"
|
|
SRC_DIR="${2}"
|
|
DOXYFILE="${3}"
|
|
DOXYGEN="${4}"
|
|
|
|
shift 4
|
|
|
|
cd ${SRC_DIR}
|
|
|
|
VERSION=$(./ffbuild/version.sh .)
|
|
|
|
$DOXYGEN - <<EOF
|
|
@INCLUDE = ${DOXYFILE}
|
|
INPUT = $@
|
|
HTML_TIMESTAMP = NO
|
|
PROJECT_NUMBER = $VERSION
|
|
OUTPUT_DIRECTORY = $OUT_DIR
|
|
EOF
|