diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-05-19 18:16:38 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-05-19 18:16:38 +0200 |
commit | 74ceae9f4650906ca46a3b6bae8e45d5ec7b7dc6 (patch) | |
tree | 0b1605969e8eae2db17e7a52a82b644af6ec71e6 | |
parent | 0228f6958a885163f9cbd037fb86e4f609d6cc2b (diff) | |
download | kile-74ceae9f4650906ca46a3b6bae8e45d5ec7b7dc6.tar.gz kile-74ceae9f4650906ca46a3b6bae8e45d5ec7b7dc6.zip |
Exclude installation of syntax highlight files
that are already installed by tdelibs.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | src/kile/syntax/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
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 |