Home GnuPG
Diffusion GPGME 576d2db9dd9b

build,qt: Decouple (un)install of CMake files

Description

build,qt: Decouple (un)install of CMake files

* lang/qt/src/Makefile.am (install-cmake-files): Rename target to
install-cmake-files-qt5 and install-cmake-files-qt6.
(uninstall-cmake-files): Rename target to uninstall-cmake-files-qt5 and
uninstall-cmake-files-qt6.
(install_cmake_files_qt5, uninstall_cmake_files_qt5,
install_cmake_files_qt6, uninstall_cmake_files_qt6): New variables.
(install-data-local): Depend on both install-cmake-files-qt* targets.
(uninstall-local): Depend on both uninstall-cmake-files-qt* targets.

This prepares the targets for the case that WANT_QT5 and WANT_QT6 are
both true.

Details