diff options
author | Slávek Banko <[email protected]> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-25 13:36:35 +0200 |
commit | 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch) | |
tree | 10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /tdeioslave | |
parent | aad2d9434f0357643c6ae388679e1f884c5bc519 (diff) | |
download | tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdeioslave')
-rw-r--r-- | tdeioslave/bzip2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/file/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/ftp/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/gzip/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/http/CMakeLists.txt | 11 | ||||
-rw-r--r-- | tdeioslave/http/kcookiejar/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/iso/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tdeioslave/metainfo/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdeioslave/xz/CMakeLists.txt | 2 |
9 files changed, 15 insertions, 18 deletions
diff --git a/tdeioslave/bzip2/CMakeLists.txt b/tdeioslave/bzip2/CMakeLists.txt index f712a2369..5a7fef53a 100644 --- a/tdeioslave/bzip2/CMakeLists.txt +++ b/tdeioslave/bzip2/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE kbzip2filter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/file/CMakeLists.txt b/tdeioslave/file/CMakeLists.txt index 783c002dd..6456e962b 100644 --- a/tdeioslave/file/CMakeLists.txt +++ b/tdeioslave/file/CMakeLists.txt @@ -35,7 +35,7 @@ install( FILES file.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio ) tde_create_translated_desktop( SOURCE file.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/ftp/CMakeLists.txt b/tdeioslave/ftp/CMakeLists.txt index bc0c764b7..7ef877e9d 100644 --- a/tdeioslave/ftp/CMakeLists.txt +++ b/tdeioslave/ftp/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( tde_create_translated_desktop( SOURCE ftp.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/gzip/CMakeLists.txt b/tdeioslave/gzip/CMakeLists.txt index ae4e6563c..9d05d57de 100644 --- a/tdeioslave/gzip/CMakeLists.txt +++ b/tdeioslave/gzip/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( tde_create_translated_desktop( SOURCE kgzipfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) 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} ) diff --git a/tdeioslave/iso/CMakeLists.txt b/tdeioslave/iso/CMakeLists.txt index b26827a2d..baf35cfd3 100644 --- a/tdeioslave/iso/CMakeLists.txt +++ b/tdeioslave/iso/CMakeLists.txt @@ -33,25 +33,25 @@ link_directories( tde_create_translated_desktop( SOURCE iso.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE isoservice.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE tdeio_isorc DESTINATION ${CONFIG_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE tdeio_iso.desktop DESTINATION ${APPS_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/metainfo/CMakeLists.txt b/tdeioslave/metainfo/CMakeLists.txt index e5903415e..11c55f7c1 100644 --- a/tdeioslave/metainfo/CMakeLists.txt +++ b/tdeioslave/metainfo/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE metainfo.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/xz/CMakeLists.txt b/tdeioslave/xz/CMakeLists.txt index 484ab1238..c601453b6 100644 --- a/tdeioslave/xz/CMakeLists.txt +++ b/tdeioslave/xz/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE kxzfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) |