[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:52:42 PDT 2017
jroelofs created this revision.
Herald added a subscriber: mgorny.
... which now avoids installing things in root.
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20170306/436814.html
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20170306/436890.html
Sorry for jumping the gun on it earlier.
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_BINARY_DIR}/${CMAKE_INSTALL_MANDIR}/man1)
elseif (builder STREQUAL html)
string(TOUPPER "${project}" project_upper)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30906.91598.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/76e4b720/attachment.bin>
More information about the llvm-commits
mailing list