Skip to content

Commit 4e291f0

Browse files
committed
Add release version to manpage
This also fixes compatibility with newer versions of pod2man.
1 parent 7925070 commit 4e291f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SwiftManpage.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function(manpage)
3030
unused_var
3131
COMMAND
3232
"${POD2MAN}" "--section" "${MP_MAN_SECTION}"
33-
"--center" "${MP_PAGE_HEADER}" "--release"
33+
"--center" "${MP_PAGE_HEADER}" "--release=\"swift ${SWIFT_VERSION}\""
3434
"--name" "${MP_MAN_FILE_BASENAME}"
3535
"--stderr"
3636
"${MP_SOURCE}" > "${output_file_name}"

0 commit comments

Comments
 (0)