summaryrefslogtreecommitdiffstats
path: root/krec
diff options
context:
space:
mode:
Diffstat (limited to 'krec')
-rw-r--r--krec/CMakeLists.txt18
-rw-r--r--krec/mp3_export/CMakeLists.txt2
-rw-r--r--krec/ogg_export/CMakeLists.txt2
3 files changed, 10 insertions, 12 deletions
diff --git a/krec/CMakeLists.txt b/krec/CMakeLists.txt
index 834cb1f7..c5aadced 100644
--- a/krec/CMakeLists.txt
+++ b/krec/CMakeLists.txt
@@ -113,29 +113,27 @@ tde_add_kpart( libkrecexport_wave AUTOMOC
tde_create_translated_desktop(
SOURCE krec.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
install( FILES krecui.rc DESTINATION ${DATA_INSTALL_DIR}/krec )
-foreach( _service kcm_krec.desktop kcm_krec_files.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kcm_krec.desktop kcm_krec_files.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR krec-desktops
+)
install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/krec )
tde_create_translated_desktop(
SOURCE krec_exportitem.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
tde_create_translated_desktop(
SOURCE krec_exportwave.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
diff --git a/krec/mp3_export/CMakeLists.txt b/krec/mp3_export/CMakeLists.txt
index b6addd07..06dcdd02 100644
--- a/krec/mp3_export/CMakeLists.txt
+++ b/krec/mp3_export/CMakeLists.txt
@@ -50,5 +50,5 @@ tde_add_kpart( libkrecexport_mp3 AUTOMOC
tde_create_translated_desktop(
SOURCE krec_exportmp3.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
diff --git a/krec/ogg_export/CMakeLists.txt b/krec/ogg_export/CMakeLists.txt
index 05d43019..4f33d3eb 100644
--- a/krec/ogg_export/CMakeLists.txt
+++ b/krec/ogg_export/CMakeLists.txt
@@ -50,5 +50,5 @@ tde_add_kpart( libkrecexport_ogg AUTOMOC
tde_create_translated_desktop(
SOURCE krec_exportogg.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)