[PATCH] D30906: Revert r297545 - Revert r297516 - Respect CMAKE_INSTALL_MANDIR for sphinx generated manpages
Jonathan Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 11:53:59 PDT 2017
jroelofs updated this revision to Diff 91601.
https://reviews.llvm.org/D30906
Files:
cmake/modules/AddSphinxTarget.cmake
Index: cmake/modules/AddSphinxTarget.cmake
===================================================================
--- cmake/modules/AddSphinxTarget.cmake
+++ cmake/modules/AddSphinxTarget.cmake
@@ -51,7 +51,7 @@
# 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_PREFIX}/${CMAKE_INSTALL_MANDIR}/man1)
elseif (builder STREQUAL html)
string(TOUPPER "${project}" project_upper)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30906.91601.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/d751ad88/attachment.bin>
More information about the llvm-commits
mailing list