summaryrefslogtreecommitdiffstats
path: root/kscd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/CMakeLists.txt')
-rw-r--r--kscd/CMakeLists.txt21
1 files changed, 18 insertions, 3 deletions
diff --git a/kscd/CMakeLists.txt b/kscd/CMakeLists.txt
index d6f74be7..ee3ea4ab 100644
--- a/kscd/CMakeLists.txt
+++ b/kscd/CMakeLists.txt
@@ -59,8 +59,23 @@ tde_add_executable( kscd AUTOMOC
install( PROGRAMS workman2cddb.pl DESTINATION ${BIN_INSTALL_DIR} )
-install( FILES kscd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES xmcd.desktop DESTINATION ${MIME_INSTALL_DIR}/text )
+tde_create_translated_desktop(
+ SOURCE kscd.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE xmcd.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/text
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+)
+
install( FILES kscd.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
install( FILES kscd.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles )
-install( FILES audiocd_play.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+
+tde_create_translated_desktop(
+ SOURCE audiocd_play.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+)