mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 18:03:30 +08:00
92a8e28f20
Both OS install third party man pages into ${PREFIX}/man/man${SECTION}, rather than the convention established in the base system of share/man/man${SECTION}.
10 lines
291 B
CMake
10 lines
291 B
CMake
function(install_freerdp_man manpage section)
|
|
if(WITH_MANPAGES)
|
|
if(OPENBSD OR FREEBSD)
|
|
install(FILES ${manpage} DESTINATION man/man${section})
|
|
else()
|
|
install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})
|
|
endif()
|
|
endif()
|
|
endfunction()
|