summaryrefslogtreecommitdiff
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-06 09:25:38 -0400
committerBrad King <brad.king@kitware.com>2022-04-06 09:59:14 -0400
commitb691906d271e2cb3dba09ef8ec07d05278976257 (patch)
tree5e4204c860c9ee78bf7cca44a85da6078d549cca /Utilities/Sphinx
parent1ceec19c208f0655362ce360a5402f613c393f3c (diff)
downloadcmake-b691906d271e2cb3dba09ef8ec07d05278976257.tar.gz
gitlab-ci: Build qthelp-format release documentation for cmake.org
Previously the qthelp-format release documentation on `cmake.org` was built manually.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index 14d0e14f56..402c7c6f67 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -146,6 +146,12 @@ if(CMake_SPHINX_CMAKE_ORG)
if(CMake_SPHINX_CMAKE_ORG_OUTDATED)
list(APPEND doc_html_opts -A outdated=1)
endif()
+
+ list(APPEND qthelp_extra_commands
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_BINARY_DIR}/qthelp/CMake.qch"
+ "${CMAKE_CURRENT_BINARY_DIR}/html/CMake.qch"
+ )
endif()
set(doc_format_outputs "")