aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-08-18 10:40:24 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-08-18 10:40:24 +0200
commit478f375b402126742653284513231c53dde47325 (patch)
tree91f9f05f43269a27113f61ea3038e4cbcdab0238
parent786bb87b34625ceb32738aedd7e45e0065b0043d (diff)
downloadsway-478f375b402126742653284513231c53dde47325.tar.xz
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.
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a49c169..b4bdf756 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
)