Skip to content

Commit

Permalink
Respect CMAKE_INSTALL_MANDIR for sphinx generated manpages
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297516 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jroelofs committed Mar 10, 2017
1 parent a58d2a9 commit 1b61f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/AddSphinxTarget.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b61f52

Please sign in to comment.