Skip to content

Commit 94083a4

Browse files
committed
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.
1 parent 7ee8736 commit 94083a4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

doc/doxy-wrapper.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ shift 4
99

1010
cd ${SRC_DIR}
1111

12-
if [ -e "VERSION" ]; then
13-
VERSION=`cat "VERSION"`
14-
else
15-
VERSION=`git describe`
16-
fi
12+
VERSION=$(./ffbuild/version.sh .)
1713

1814
$DOXYGEN - <<EOF
1915
@INCLUDE = ${DOXYFILE}

0 commit comments

Comments
 (0)