From 94083a44c9cb5dc5f436c824114af655711325ca Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 17 Aug 2026 17:45:44 +0200 Subject: [PATCH] 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. --- doc/doxy-wrapper.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh index 729caa6347..a866c5c948 100755 --- a/doc/doxy-wrapper.sh +++ b/doc/doxy-wrapper.sh @@ -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 - <