From 55cdb3a75e61ab656c6fa0d372ad096f90152494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 10 Jun 2020 20:45:00 +0200 Subject: Update TDEL10n module + Add *.theme and eventsrc to files known as desktop style. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index f45cc53..6a51dad 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -514,9 +514,10 @@ macro( tde_l10n_create_template ) endif( ) endforeach( ) - # pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol and *.themerc + # pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol, *.theme, *.themerc and eventsrc foreach( _src ${_files} ) - if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|themerc)(\\.cmake)?$" ) + if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|theme|themerc)(\\.cmake)?$" + OR ${_src} MATCHES "(^|/)eventsrc(\\.cmake)?$" ) list( APPEND _desktops ${_src} ) list( REMOVE_ITEM _files ${_src} ) endif( ) -- cgit v1.2.1