Blame cmake/InstallFreeRDPMan.cmake
|
Packit |
1fb8d4 |
function(install_freerdp_man manpage section)
|
|
Packit |
1fb8d4 |
if(WITH_MANPAGES)
|
|
Packit |
1fb8d4 |
if(OPENBSD OR FREEBSD)
|
|
Packit |
1fb8d4 |
install(FILES ${manpage} DESTINATION man/man${section})
|
|
Packit |
1fb8d4 |
else()
|
|
Packit |
1fb8d4 |
install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})
|
|
Packit |
1fb8d4 |
endif()
|
|
Packit |
1fb8d4 |
endif()
|
|
Packit |
1fb8d4 |
endfunction()
|