mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
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:
1 parent
7ee873656c
commit
94083a44c9
1 file changed
+1
-5
+1
-5
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user