Skip to content

Commit

Permalink
Fix tools/genmanpage.sh and the doc/uvg266.1 it generates
Browse files Browse the repository at this point in the history
  • Loading branch information
fador committed Jun 16, 2022
1 parent f269ba4 commit 3b17821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
27 changes: 1 addition & 26 deletions doc/uvg266.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/genmanpage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b17821

Please sign in to comment.