summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Kuhnle <simon@blarzwurst.de>2012-07-05 12:07:23 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-07-05 12:07:23 +0200
commit14e98a5fae6d3a8128f0d84d673715cea5920eb5 (patch)
treefb0ea6bc1319ec1068b45b9e4599b4cf111a2a08 /doc
parent26d7fcfc972fe7eb1f65c615e38e70f4edb2e1fb (diff)
downloadweechat-14e98a5fae6d3a8128f0d84d673715cea5920eb5.zip
doc: add new cmake option MANDIR (bug #36776)
${SHAREDIR}/man is not always the correct path, so add option to customize path. This is set to "${SHAREDIR}/man" by default. Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 89f8be3b6..f36395270 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -35,4 +35,4 @@ IF(ENABLE_DOC)
ENDIF(ENABLE_DOC)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)