From 03bfecd1cc3e1c9677762d315bc3e7cd4ee76767 Mon Sep 17 00:00:00 2001 From: Chusslove Illich Date: Wed, 18 Jul 2007 00:04:58 +0000 Subject: Do not install SVN support files in l10n/ll/scripts. svn path=/trunk/KDE/kdelibs/; revision=689251 --- modules/KDE4Macros.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 178c9724..419205be 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -262,8 +262,11 @@ endmacro(KDE4_INSTALL_PO_FILES) macro(KDE4_INSTALL_TS_FILES _lang _sdir) file(GLOB_RECURSE _ts_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${_sdir}/*) foreach(_current_TS_FILES ${_ts_files}) - get_filename_component(_subpath ${_current_TS_FILES} PATH) - install(FILES ${_current_TS_FILES} DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_SCRIPTS/${_subpath}) + string(REGEX MATCH "\\.svn/" _in_svn ${_current_TS_FILES}) + if(NOT _in_svn) + get_filename_component(_subpath ${_current_TS_FILES} PATH) + install(FILES ${_current_TS_FILES} DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_SCRIPTS/${_subpath}) + endif(NOT _in_svn) endforeach(_current_TS_FILES) endmacro(KDE4_INSTALL_TS_FILES) -- cgit v1.2.1