diff --git a/doc/uvg266.1 b/doc/uvg266.1 index 54ed920f..7d6947b3 100644 --- a/doc/uvg266.1 +++ b/doc/uvg266.1 @@ -1,29 +1,4 @@ -.TH UVG266 "1" "June 2022" "uvg266 v3.12) -0.2.3 -${PROJECT_VERSION}-${GIT_TAG_SHORT}) -" -"${CMAKE_C_COMPILER_ID} -LESS -"VS") -LESS -"VS2013") -LESS -"VS2015") -LESS -"VS2017") -LESS -"VS2019") -"VS2022") -"${UVG_COMPILER_VERSION}") -tar -"Make -${CMAKE_SOURCE_DIR}/${PROJECT_NAME}-${PROJECT_VERSION}.tar.gz -tar -cd -echo -echo -${CMAKE_SOURCE_DIR}/${PROJECT_NAME}-${PROJECT_VERSION}.tar.gz -"Checking" "User Commands" +.TH UVG266 "1" "June 2022" "uvg266 v0.2.3" "User Commands" .SH NAME uvg266 \- open source VVC encoder .SH SYNOPSIS diff --git a/tools/genmanpage.sh b/tools/genmanpage.sh index 7db037c0..b909285d 100755 --- a/tools/genmanpage.sh +++ b/tools/genmanpage.sh @@ -6,7 +6,7 @@ set -e cd "$(dirname "$0")" date="$(date +"%B %Y")" -version="$(awk '/VERSION/ {print $2}' ../CMakeLists.txt)" +version="$(awk 'match($0,/VERSION [0-9]\.[0-9]\.[0-9]/) {print $2}' ../CMakeLists.txt)" manpage_file=../doc/uvg266.1 cat < $manpage_file