Exclude installation of syntax highlight files

that are already installed by tdelibs.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 74ceae9f46)
r14.0.x
Slávek Banko 3 years ago
parent b680165e96
commit f6e7a2a5dc
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,9 +1,15 @@
########### install files ############### ########### install files ###############
file( GLOB _files *.xml ) file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xml )
list( SORT _files ) list( SORT _files )
# exclude files that are already installed by tdelibs
list( REMOVE_ITEM _files
"bibtex.xml"
"latex.xml"
)
install( install(
FILES ${_files} FILES ${_files}
DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax

Loading…
Cancel
Save