2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2020-02-04 15:19:18 +00:00
|
|
|
# special case skip regeneration
|
2019-09-19 07:38:09 +00:00
|
|
|
#
|
|
|
|
# Copy/Install doc configuration files to the build/install directory
|
|
|
|
#
|
|
|
|
qt_path_join(doc_install_dir ${QT_INSTALL_DIR} ${INSTALL_DOCDIR})
|
2020-10-22 19:46:56 +00:00
|
|
|
foreach(dir global config)
|
|
|
|
qt_copy_or_install(DIRECTORY ${dir} DESTINATION ${doc_install_dir})
|
|
|
|
if(QT_SUPERBUILD)
|
|
|
|
qt_path_join(destination ${QtBase_BINARY_DIR} ${INSTALL_DOCDIR})
|
|
|
|
file(COPY ${dir} DESTINATION ${destination})
|
|
|
|
endif()
|
|
|
|
endforeach()
|