1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/doc/doxy-wrapper.sh
Michael Niedermayer 94083a44c9 doc/doxy-wrapper.sh: use ffbuild/version.sh to determine the version
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.
2026-09-04 19:21:19 +00:00

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