From 2746051522153d8d6c7306bd4338fa24d8a4e06b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 5 Nov 2020 09:48:55 +0100 Subject: CMake: Disconnect docs installation targets from generation targets "ninja install_docs" should not run the "docs" target, because with the usual workflow ninja docs ninja install_docs the documentation would be built twice. That of course means that "ninja install_docs" will fail if "ninja docs" wasn't run before. Analogous for html_docs, qch_docs, the repository-level and module-level documentation targets. Change-Id: I8ad83602dd393b5afc79a19ab3d395987c889d0d Reviewed-by: Alexandru Croitor --- cmake/QtDocsHelpers.cmake | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmake/QtDocsHelpers.cmake') diff --git a/cmake/QtDocsHelpers.cmake b/cmake/QtDocsHelpers.cmake index 232d7f6107..a30ed66a32 100644 --- a/cmake/QtDocsHelpers.cmake +++ b/cmake/QtDocsHelpers.cmake @@ -181,9 +181,6 @@ function(qt_internal_add_docs) add_custom_target(install_qch_docs_${target}) endif() - add_dependencies(install_html_docs_${target} html_docs_${target}) - add_dependencies(install_qch_docs_${target} qch_docs_${target}) - add_custom_target(install_docs_${target}) add_dependencies(install_docs_${target} install_html_docs_${target} install_qch_docs_${target}) -- cgit v1.2.3