From 74ceae9f4650906ca46a3b6bae8e45d5ec7b7dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 19 May 2022 18:16:38 +0200 Subject: [PATCH] Exclude installation of syntax highlight files that are already installed by tdelibs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/kile/syntax/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/kile/syntax/CMakeLists.txt b/src/kile/syntax/CMakeLists.txt index e93f69e..31c43bb 100644 --- a/src/kile/syntax/CMakeLists.txt +++ b/src/kile/syntax/CMakeLists.txt @@ -1,9 +1,15 @@ ########### install files ############### -file( GLOB _files *.xml ) +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xml ) list( SORT _files ) +# exclude files that are already installed by tdelibs +list( REMOVE_ITEM _files + "bibtex.xml" + "latex.xml" +) + install( FILES ${_files} DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax