llvm.org GIT mirror llvm / 7002314
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 Eric Fiselier 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5050 # FIXME: We might not ship all the tools that these man pages describe
5151 install(DIRECTORY "${SPHINX_BUILD_DIR}/" # Slash indicates contents of
5252 COMPONENT "${project}-sphinx-man"
53 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
53 DESTINATION share/man/man1)
5454
5555 elseif (builder STREQUAL html)
5656 string(TOUPPER "${project}" project_upper)