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.
master
Lubomir Rintel 9 years ago
parent 786bb87b34
commit 478f375b40

@ -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
)

Loading…
Cancel
Save