summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-11 02:24:13 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-11 02:24:13 +0000
commit62a14c46f807b8a875fcbdaaeca1bbd289a1b71a (patch)
tree7a009ee9f22b2444720a9c7f5a676af0ecf8efc5 /llvm/cmake/modules
parentb6b2f18ea8776087bd78228c46f4a0ee73923642 (diff)
downloadbcm5719-llvm-62a14c46f807b8a875fcbdaaeca1bbd289a1b71a.tar.gz
bcm5719-llvm-62a14c46f807b8a875fcbdaaeca1bbd289a1b71a.zip
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. llvm-svn: 297545
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/AddSphinxTarget.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddSphinxTarget.cmake b/llvm/cmake/modules/AddSphinxTarget.cmake
index 2c836e4c328..3456b536e80 100644
--- a/llvm/cmake/modules/AddSphinxTarget.cmake
+++ b/llvm/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)
OpenPOWER on IntegriCloud