summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/CMakeLists.txt17
-rw-r--r--tdeio/misc/CMakeLists.txt11
-rw-r--r--tdeio/misc/kpac/CMakeLists.txt4
-rw-r--r--tdeio/misc/kssld/CMakeLists.txt2
-rw-r--r--tdeio/misc/tdewalletd/CMakeLists.txt2
-rw-r--r--tdeio/tdefile/CMakeLists.txt2
6 files changed, 16 insertions, 22 deletions
diff --git a/tdeio/CMakeLists.txt b/tdeio/CMakeLists.txt
index 2a8fc7f3a..26bfc53aa 100644
--- a/tdeio/CMakeLists.txt
+++ b/tdeio/CMakeLists.txt
@@ -44,17 +44,14 @@ add_custom_target(
install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )
-foreach( _service
+tde_create_translated_desktop(
+ SOURCE
application.desktop kurifilterplugin.desktop
kcomprfilter.desktop kscan.desktop kdatatool.desktop
tdefileplugin.desktop tdecmodule.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdeio-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
- )
-endforeach()
install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
@@ -63,19 +60,19 @@ install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_D
tde_create_translated_desktop(
SOURCE renamedlgplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE kpasswdserver.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE data.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
diff --git a/tdeio/misc/CMakeLists.txt b/tdeio/misc/CMakeLists.txt
index 0b75b5103..ad25c8e0d 100644
--- a/tdeio/misc/CMakeLists.txt
+++ b/tdeio/misc/CMakeLists.txt
@@ -46,18 +46,15 @@ install( FILES uiserver.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio )
##### other data ################################
-foreach( _service
+tde_create_translated_desktop(
+ SOURCE
tdeio_uiserver.desktop tdemailservice.protocol
telnet.protocol rlogin.protocol rtsp.protocol
ssh.protocol mms.protocol mmst.protocol mmsu.protocol
pnm.protocol rtspt.protocol rtspu.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdeio-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
- )
-endforeach()
install( FILES fileshareset DESTINATION ${BIN_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID )
diff --git a/tdeio/misc/kpac/CMakeLists.txt b/tdeio/misc/kpac/CMakeLists.txt
index bd41c5887..a98625dc6 100644
--- a/tdeio/misc/kpac/CMakeLists.txt
+++ b/tdeio/misc/kpac/CMakeLists.txt
@@ -33,13 +33,13 @@ link_directories(
tde_create_translated_desktop(
SOURCE proxyscout.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/proxyscout
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-kpac-eventsrc
+ PO_DIR tdeio-kpac-eventsrc
)
diff --git a/tdeio/misc/kssld/CMakeLists.txt b/tdeio/misc/kssld/CMakeLists.txt
index d92daa1b8..cb2c98c42 100644
--- a/tdeio/misc/kssld/CMakeLists.txt
+++ b/tdeio/misc/kssld/CMakeLists.txt
@@ -31,7 +31,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kssld.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
diff --git a/tdeio/misc/tdewalletd/CMakeLists.txt b/tdeio/misc/tdewalletd/CMakeLists.txt
index b67bd2e9e..78149218f 100644
--- a/tdeio/misc/tdewalletd/CMakeLists.txt
+++ b/tdeio/misc/tdewalletd/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdewalletd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
diff --git a/tdeio/tdefile/CMakeLists.txt b/tdeio/tdefile/CMakeLists.txt
index 67f228477..142c06398 100644
--- a/tdeio/tdefile/CMakeLists.txt
+++ b/tdeio/tdefile/CMakeLists.txt
@@ -50,7 +50,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE kpropsdlgplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)