Fix tools/genmanpage.sh and the doc/uvg266.1 it generates

This commit is contained in:
Marko Viitanen 2022-06-16 11:14:42 +03:00
parent f269ba436b
commit 3b17821396
2 changed files with 2 additions and 27 deletions

View file

@ -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

View file

@ -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 <<EOF> $manpage_file