d817469b78
* man pages are only build/installed if WITH_MANPAGES is enabled * create a new cmake function install_freerdp_man to unified install man pages * install all man pages using the new function * update the nightly packages accordingly
10 lines
280 B
CMake
10 lines
280 B
CMake
function(install_freerdp_man manpage section)
|
|
if(WITH_MANPAGES)
|
|
if(OPENBSD)
|
|
install(FILES ${manpage} DESTINATION man/man${section})
|
|
else()
|
|
install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})
|
|
endif()
|
|
endif()
|
|
endfunction()
|