diff options
author | Slávek Banko <[email protected]> | 2020-06-10 20:45:00 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-11 03:46:24 +0200 |
commit | 55cdb3a75e61ab656c6fa0d372ad096f90152494 (patch) | |
tree | 4ae87d8fcdb4611620b5c69610b83b24d35eb2c7 | |
parent | e4b370839f36c271d7f41718070ed30ed89aeebe (diff) | |
download | tde-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.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( ) |