summaryrefslogtreecommitdiffstats
path: root/ksplashml
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-01-24 18:28:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-01-24 18:30:47 +0100
commit5edae45133bb6953888d19751a5a7db016f835bd (patch)
tree289a10546830b41e1a5f7a3511932411d3688ead /ksplashml
parentfac8a55caf21af5c02e889638388fc9a864a0621 (diff)
downloadtdebase-5edae45133bb6953888d19751a5a7db016f835bd.tar.gz
tdebase-5edae45133bb6953888d19751a5a7db016f835bd.zip
Update CMakeL10n rules for extracting ksplash themes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ksplashml')
-rw-r--r--ksplashml/CMakeL10n.txt14
-rw-r--r--ksplashml/pics/CMakeL10n.txt3
-rw-r--r--ksplashml/pics/themes/CMakeL10n.txt15
3 files changed, 14 insertions, 18 deletions
diff --git a/ksplashml/CMakeL10n.txt b/ksplashml/CMakeL10n.txt
index 98d1940a8..2e1ad51f1 100644
--- a/ksplashml/CMakeL10n.txt
+++ b/ksplashml/CMakeL10n.txt
@@ -12,3 +12,17 @@ tde_l10n_create_template(
SOURCES *.desktop
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)
+
+file(
+ GLOB_RECURSE _themes
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/*Theme.rc
+)
+list( SORT _themes )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ksplash-themes/"
+ SOURCES_DESKTOP ${_themes}
+ KEYWORDS Message1 Message2 Message3 Message4 Message5 Message6 Message7 Message8
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ksplashml/pics/CMakeL10n.txt b/ksplashml/pics/CMakeL10n.txt
deleted file mode 100644
index b585ce4af..000000000
--- a/ksplashml/pics/CMakeL10n.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-##### create translation templates ##############
-
-tde_l10n_auto_add_subdirectories( )
diff --git a/ksplashml/pics/themes/CMakeL10n.txt b/ksplashml/pics/themes/CMakeL10n.txt
deleted file mode 100644
index be21a4224..000000000
--- a/ksplashml/pics/themes/CMakeL10n.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-##### create translation templates ##############
-
-file(
- GLOB_RECURSE _themes
- RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/*Theme.rc
-)
-list( SORT _themes )
-
-tde_l10n_create_template(
- CATALOG "desktop_files/ksplash-themes/"
- SOURCES_DESKTOP ${_themes}
- KEYWORDS Message1 Message2 Message3 Message4 Message5 Message6 Message7 Message8
- DESTINATION "${CMAKE_SOURCE_DIR}/translations"
-)