7d641a67b9
if WITH_BINARY_VERSIONING is activated also version the manpages to match the binary names
12 lines
326 B
CMake
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})
|