diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-10 20:45:00 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 13:26:28 +0200 |
commit | 2bd725d95666fc4d42afe36546321deb20e48d83 (patch) | |
tree | fa9329d4d8776b00ebb37f80957f15f2b622dffb | |
parent | 76b9e6c8e184664ddeeb5d2d29983aca7a3955f8 (diff) | |
download | tde-cmake-2bd725d95666fc4d42afe36546321deb20e48d83.tar.gz tde-cmake-2bd725d95666fc4d42afe36546321deb20e48d83.zip |
Update TDEL10n module
+ Add *.theme and eventsrc to files known as desktop style.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 55cdb3a75e61ab656c6fa0d372ad096f90152494)
-rw-r--r-- | modules/TDEL10n.cmake | 5 |
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( ) |