summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-10 20:45:00 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 13:28:15 +0200
commitb3a51ff373326c6fdcbc5c235690b7b4babc374f (patch)
tree9f60bf3a1565d8d4f21377d114bcf530bbe2938e
parent5d7886e19b46a355340421dfbe02be90646d92e1 (diff)
downloadtde-cmake-b3a51ff373326c6fdcbc5c235690b7b4babc374f.tar.gz
tde-cmake-b3a51ff373326c6fdcbc5c235690b7b4babc374f.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.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( )