summaryrefslogtreecommitdiffstats
path: root/tdeioslave/http
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:38:09 +0200
commit3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch)
treeee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /tdeioslave/http
parent6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff)
downloadtdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz
tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
Diffstat (limited to 'tdeioslave/http')
-rw-r--r--tdeioslave/http/CMakeLists.txt11
-rw-r--r--tdeioslave/http/kcookiejar/CMakeLists.txt2
2 files changed, 5 insertions, 8 deletions
diff --git a/tdeioslave/http/CMakeLists.txt b/tdeioslave/http/CMakeLists.txt
index c29782570..a1a6c296a 100644
--- a/tdeioslave/http/CMakeLists.txt
+++ b/tdeioslave/http/CMakeLists.txt
@@ -32,16 +32,13 @@ link_directories(
##### other data ################################
-foreach( _desktop
+tde_create_translated_desktop(
+ SOURCE
http_cache_cleaner.desktop http.protocol https.protocol
webdav.protocol webdavs.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdeioslave-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
- )
-endforeach()
##### tdeio_http_cache_cleaner ####################
diff --git a/tdeioslave/http/kcookiejar/CMakeLists.txt b/tdeioslave/http/kcookiejar/CMakeLists.txt
index 57feb62b2..5bf804615 100644
--- a/tdeioslave/http/kcookiejar/CMakeLists.txt
+++ b/tdeioslave/http/kcookiejar/CMakeLists.txt
@@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kcookiejar.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
+ PO_DIR tdeioslave-desktops
)
install( FILES kcookiescfg.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )