summaryrefslogtreecommitdiffstats
path: root/tdeio/misc/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
commit42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch)
tree10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /tdeio/misc/CMakeLists.txt
parentaad2d9434f0357643c6ae388679e1f884c5bc519 (diff)
downloadtdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz
tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeio/misc/CMakeLists.txt')
-rw-r--r--tdeio/misc/CMakeLists.txt11
1 files changed, 4 insertions, 7 deletions
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 )