[PATCH] D24982: [cmake] Include component in Sphinx install rules
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 5 01:25:22 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL288656: [cmake] Include component in Sphinx install rules (authored by mgorny).
Changed prior to commit:
https://reviews.llvm.org/D24982?vs=72697&id=80236#toc
Repository:
rL LLVM
https://reviews.llvm.org/D24982
Files:
llvm/trunk/cmake/modules/AddSphinxTarget.cmake
Index: llvm/trunk/cmake/modules/AddSphinxTarget.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddSphinxTarget.cmake
+++ llvm/trunk/cmake/modules/AddSphinxTarget.cmake
@@ -50,6 +50,7 @@
if (builder STREQUAL man)
# 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)
elseif (builder STREQUAL html)
@@ -61,6 +62,7 @@
# the specified destination, without recreating the last component
# of ${SPHINX_BUILD_DIR} implicitly.
install(DIRECTORY "${SPHINX_BUILD_DIR}/."
+ COMPONENT "${project}-sphinx-html"
DESTINATION "${${project_upper}_INSTALL_SPHINX_HTML_DIR}")
else()
message(WARNING Installation of ${builder} not supported)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24982.80236.patch
Type: text/x-patch
Size: 971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161205/495f548f/attachment.bin>
More information about the llvm-commits
mailing list