Install manual pages to <prefix>/share/man

Use a FHS compliant location instead of /usr/man compat symlink. Some distros
don't ship that one.
This commit is contained in:
Lubomir Rintel 2015-08-18 10:40:24 +02:00
parent 786bb87b34
commit 478f375b40

View file

@ -62,10 +62,10 @@ ADD_CUSTOM_TARGET(man ALL
INSTALL(
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
)
INSTALL(
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man5
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
)