diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-11 02:24:13 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-11 02:24:13 +0000 |
commit | 700231444c810d4208a5eb08e90589630c911783 (patch) | |
tree | b86820156bd17a6b0a53c7e5bf7369865162b23a /cmake | |
parent | 47ec3386d246a8bbcb5968209d12961768f3fd0e (diff) |
Revert r297516 - Respect CMAKE_INSTALL_MANDIR for sphinx generated manpages
When CMAKE_INSTALL_MANDIR isn't defined it ends up attempting to install
the man pages under "/man1" and we really don't want to accidentally install
stuff at the filesystem root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297545 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 2c836e4c3281..3456b536e80a 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 ${CMAKE_INSTALL_MANDIR}/man1) + DESTINATION share/man/man1) elseif (builder STREQUAL html) string(TOUPPER "${project}" project_upper) |