FreeRDP/client/X11/man/CMakeLists.txt
Armin Novak 7d641a67b9 [doc,manpage] name manpages versioned
if WITH_BINARY_VERSIONING is activated also version the manpages to
match the binary names
2023-12-22 10:24:09 +01:00

12 lines
326 B
CMake

set(DEPS
xfreerdp-channels.1.xml
xfreerdp-examples.1.xml
xfreerdp-envvar.1.xml
)
set(MANPAGE_NAME ${PROJECT_NAME})
if (WITH_BINARY_VERSIONING)
set(MANPAGE_NAME ${PROJECT_NAME}${PROJECT_VERSION_MAJOR})
endif()
generate_and_install_freerdp_man_from_xml(${PROJECT_NAME}.1 ${MANPAGE_NAME}.1 ${DEPS})