summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kile/syntax/CMakeLists.txt8
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