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:
parent
786bb87b34
commit
478f375b40
|
@ -62,10 +62,10 @@ ADD_CUSTOM_TARGET(man ALL
|
||||||
|
|
||||||
INSTALL(
|
INSTALL(
|
||||||
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
|
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALL(
|
INSTALL(
|
||||||
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
|
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man5
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue