summaryrefslogtreecommitdiff
path: root/doc/man/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/CMakeLists.txt')
-rw-r--r--doc/man/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
index e1d5c04a..add68d62 100644
--- a/doc/man/CMakeLists.txt
+++ b/doc/man/CMakeLists.txt
@@ -28,7 +28,7 @@ set(MAN_NAMES
macro(INSTALL_MAN __mans)
foreach (_man ${ARGV})
string(REGEX REPLACE "^.+[.]([1-9]).gz" "\\1" _mansect ${_man})
- install(FILES ${_man} DESTINATION "usr/share/man/man${_mansect}")
+ install(FILES ${_man} DESTINATION "${CMAKE_INSTALL_MANDIR}/man${_mansect}")
endforeach (_man)
endmacro(INSTALL_MAN __mans)