summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-10 20:45:00 +0200
committerSlávek Banko <[email protected]>2020-06-11 03:46:24 +0200
commit55cdb3a75e61ab656c6fa0d372ad096f90152494 (patch)
tree4ae87d8fcdb4611620b5c69610b83b24d35eb2c7
parente4b370839f36c271d7f41718070ed30ed89aeebe (diff)
downloadtde-cmake-55cdb3a75e61ab656c6fa0d372ad096f90152494.tar.gz
tde-cmake-55cdb3a75e61ab656c6fa0d372ad096f90152494.zip
Update TDEL10n module
+ Add *.theme and eventsrc to files known as desktop style. Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--modules/TDEL10n.cmake5
1 files 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( )