diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-03-10 21:44:16 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-03-10 21:44:16 +0000 |
commit | 1b61f52d061c1463a5252d84a657fb2464ff1e18 (patch) | |
tree | 88b0fdbdce0dd4ba5ec55a15a485bc681fdd156b /cmake | |
parent | a58d2a9027eadca9e771b14807f2acdd8ae855d5 (diff) |
Respect CMAKE_INSTALL_MANDIR for sphinx generated manpages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddSphinxTarget.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddSphinxTarget.cmake b/cmake/modules/AddSphinxTarget.cmake index 3456b536e80a..2c836e4c3281 100644 --- a/cmake/modules/AddSphinxTarget.cmake +++ b/cmake/modules/AddSphinxTarget.cmake @@ -51,7 +51,7 @@ function (add_sphinx_target builder project) # FIXME: We might not ship all the tools that these man pages describe install(DIRECTORY "${SPHINX_BUILD_DIR}/" # Slash indicates contents of COMPONENT "${project}-sphinx-man" - DESTINATION share/man/man1) + DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) elseif (builder STREQUAL html) string(TOUPPER "${project}" project_upper) |