Follow OpenBSD convention when installing manpages on FreeBSD
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}.
This commit is contained in:
parent
fbb21e3499
commit
92a8e28f20
@ -1,6 +1,6 @@
|
||||
function(install_freerdp_man manpage section)
|
||||
if(WITH_MANPAGES)
|
||||
if(OPENBSD)
|
||||
if(OPENBSD OR FREEBSD)
|
||||
install(FILES ${manpage} DESTINATION man/man${section})
|
||||
else()
|
||||
install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})
|
||||
|
Loading…
Reference in New Issue
Block a user