aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/QbsDocumentation.cmake
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2022-04-02 20:20:35 +0300
committerDmitry Shachnev <mitya57@gmail.com>2022-04-20 09:47:47 +0000
commitb6a46aa0199c2595766495673f67a8190f3342fe (patch)
treeeb90765061cd73eca67a60fab9635f8b1ffb9bc9 /cmake/QbsDocumentation.cmake
parent0ccbc9f30d3fc6994d6ec3a7db0ed60e2c9dc500 (diff)
Fix install of QCH and HTML documentationv1.22.1
- qbs.qch should go to QT_INSTALL_DOCS, not to QBS_DOC_INSTALL_DIR (which ends with /html by default). - HTML documentation was not installed at all. Change-Id: I11fa33e5d2f9e0a39184a7d82ac1a8faf064f25e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'cmake/QbsDocumentation.cmake')
-rw-r--r--cmake/QbsDocumentation.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QbsDocumentation.cmake b/cmake/QbsDocumentation.cmake
index d9bdb7a09..a1ce44057 100644
--- a/cmake/QbsDocumentation.cmake
+++ b/cmake/QbsDocumentation.cmake
@@ -229,6 +229,8 @@ function(_qbs_setup_qhelpgenerator_targets _qdocconf_file _html_outputdir)
install(FILES "${_qch_outputdir}/${_target}.qch" DESTINATION "${_arg_INSTALL_DIR}"
COMPONENT qbs_qch_docs)
+ install(DIRECTORY "${_qch_outputdir}/html" DESTINATION "${_arg_INSTALL_DIR}"
+ COMPONENT qbs_html_docs)
endfunction()
# Helper functions: