summaryrefslogtreecommitdiff
path: root/docs/CMake.rst
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-09-23 11:09:33 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-09-23 11:09:33 +0000
commit91fdd2b6639ae79e0e22406ca6640e544a57d7eb (patch)
tree9c2c9580ddf2978816ac2321e6749f10fa5e8f29 /docs/CMake.rst
parent582d1a13f3eae2a3a759c026f387e99fc227d8a9 (diff)
cmake: Support overriding Sphinx HTML doc install directory
Provide ${PROJECT}_INSTALL_SPHINX_HTML_DIR variables (e.g. LLVM_INSTALL_SPHINX_HTML_DIR) to override Sphinx HTML doc install directory. Bug: https://llvm.org/bugs/show_bug.cgi?id=23780 Differential Revision: https://reviews.llvm.org/D23757 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CMake.rst')
-rw-r--r--docs/CMake.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/CMake.rst b/docs/CMake.rst
index 5d57bc98596..9e7967cf395 100644
--- a/docs/CMake.rst
+++ b/docs/CMake.rst
@@ -456,6 +456,11 @@ LLVM-specific variables
If enabled then sphinx documentation warnings will be treated as
errors. Defaults to ON.
+**LLVM_INSTALL_SPHINX_HTML_DIR**:STRING
+ The path to install Sphinx-generated HTML documentation to. This path can
+ either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to
+ `share/doc/llvm/html`.
+
**LLVM_CREATE_XCODE_TOOLCHAIN**:BOOL
OS X Only: If enabled CMake will generate a target named
'install-xcode-toolchain'. This target will create a directory at