summaryrefslogtreecommitdiffstats
path: root/kig
diff options
context:
space:
mode:
Diffstat (limited to 'kig')
-rw-r--r--kig/kig/CMakeLists.txt4
-rw-r--r--kig/mimetypes/CMakeLists.txt11
-rw-r--r--kig/tdefile/CMakeLists.txt12
3 files changed, 11 insertions, 16 deletions
diff --git a/kig/kig/CMakeLists.txt b/kig/kig/CMakeLists.txt
index 166cd370..8134f923 100644
--- a/kig/kig/CMakeLists.txt
+++ b/kig/kig/CMakeLists.txt
@@ -58,11 +58,11 @@ install(
tde_create_translated_desktop(
SOURCE kig.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kig-desktops
+ PO_DIR kig-desktops
)
tde_create_translated_desktop(
SOURCE kig_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kig-desktops
+ PO_DIR kig-desktops
)
diff --git a/kig/mimetypes/CMakeLists.txt b/kig/mimetypes/CMakeLists.txt
index 468bba81..4a606f3f 100644
--- a/kig/mimetypes/CMakeLists.txt
+++ b/kig/mimetypes/CMakeLists.txt
@@ -23,16 +23,13 @@ install(
DESTINATION ${CONFIG_INSTALL_DIR}/magic
)
-foreach( _mimetype
+tde_create_translated_desktop(
+ SOURCE
x-kig.desktop
x-kgeo.desktop
x-kseg.desktop
x-cabri.desktop
x-drgeo.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR kig-mimetypes
)
- tde_create_translated_desktop(
- SOURCE ${_mimetype}
- DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kig-mimetypes
- )
-endforeach()
diff --git a/kig/tdefile/CMakeLists.txt b/kig/tdefile/CMakeLists.txt
index 9d4ad579..0f74ec84 100644
--- a/kig/tdefile/CMakeLists.txt
+++ b/kig/tdefile/CMakeLists.txt
@@ -44,10 +44,8 @@ tde_add_kpart( tdefile_kig AUTOMOC
##### other data
-foreach( _tdefile tdefile_drgeo.desktop tdefile_kig.desktop )
- tde_create_translated_desktop(
- SOURCE ${_tdefile}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kig-tdefile
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdefile_drgeo.desktop tdefile_kig.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kig-tdefile
+)