Respect CMAKE_INSTALL_MANDIR for sphinx generated manpages

llvm-svn: 297516
This commit is contained in:
Jonathan Roelofs 2017-03-10 21:44:16 +00:00
parent eea05ec3f3
commit 3fdfeeed9f
1 changed files with 1 additions and 1 deletions

View File

@ -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)