summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLibravatar Lubomir Rintel <lkundrak@v3.sk>2015-08-18 10:40:24 +0200
committerLibravatar Lubomir Rintel <lkundrak@v3.sk>2015-08-18 10:40:24 +0200
commit478f375b402126742653284513231c53dde47325 (patch)
tree91f9f05f43269a27113f61ea3038e4cbcdab0238 /CMakeLists.txt
parentDocument asciidoc dependency (diff)
downloadsway-478f375b402126742653284513231c53dde47325.tar.gz
sway-478f375b402126742653284513231c53dde47325.tar.zst
sway-478f375b402126742653284513231c53dde47325.zip
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.
Diffstat (limited to 'CMakeLists.txt')
-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
62 62
63INSTALL( 63INSTALL(
64 FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1 64 FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.1
65 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1 65 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
66) 66)
67 67
68INSTALL( 68INSTALL(
69 FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5 69 FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
70 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man5 70 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
71) 71)