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.
This commit is contained in:
Michael Niedermayer authored and michaelni committed 2026-09-04 19:21:19 +00:00
1 parent 7ee873656c
commit 94083a44c9
1 file changed
+1 -5
+1 -5
View File
@@ -9,11 +9,7 @@ shift 4
cd ${SRC_DIR}
if [ -e "VERSION" ]; then
VERSION=`cat "VERSION"`
else
VERSION=`git describe`
fi
VERSION=$(./ffbuild/version.sh .)
$DOXYGEN - <<EOF
@INCLUDE = ${DOXYFILE}