From 3e4279ead3d02c6183681a1bad4c9cd678a5b274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 25 Jun 2020 13:36:35 +0200 Subject: Simplify CMake rules for desktop file translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b) --- tdeabc/CMakeLists.txt | 4 ++-- tdeabc/formats/CMakeLists.txt | 2 +- tdeabc/plugins/dir/CMakeLists.txt | 2 +- tdeabc/plugins/file/CMakeLists.txt | 2 +- tdeabc/plugins/ldaptdeio/CMakeLists.txt | 2 +- tdeabc/plugins/net/CMakeLists.txt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tdeabc') diff --git a/tdeabc/CMakeLists.txt b/tdeabc/CMakeLists.txt index 54870047c..f3ed187dd 100644 --- a/tdeabc/CMakeLists.txt +++ b/tdeabc/CMakeLists.txt @@ -62,13 +62,13 @@ install( FILES tde_create_translated_desktop( SOURCE tdeab2tdeabc.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) tde_create_translated_desktop( SOURCE tdeabc_manager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) install( FILES countrytransl.map DESTINATION ${DATA_INSTALL_DIR}/tdeabc ) diff --git a/tdeabc/formats/CMakeLists.txt b/tdeabc/formats/CMakeLists.txt index d5432a1f1..c40e80d75 100644 --- a/tdeabc/formats/CMakeLists.txt +++ b/tdeabc/formats/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE binary.desktop DESTINATION ${DATA_INSTALL_DIR}/tdeabc/formats - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/dir/CMakeLists.txt b/tdeabc/plugins/dir/CMakeLists.txt index 5dbf15a9d..4561f7c7a 100644 --- a/tdeabc/plugins/dir/CMakeLists.txt +++ b/tdeabc/plugins/dir/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE dir.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/file/CMakeLists.txt b/tdeabc/plugins/file/CMakeLists.txt index 008f7b656..bd0f4d713 100644 --- a/tdeabc/plugins/file/CMakeLists.txt +++ b/tdeabc/plugins/file/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE file.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/ldaptdeio/CMakeLists.txt b/tdeabc/plugins/ldaptdeio/CMakeLists.txt index 82ed19792..ee2867d23 100644 --- a/tdeabc/plugins/ldaptdeio/CMakeLists.txt +++ b/tdeabc/plugins/ldaptdeio/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE ldaptdeio.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/net/CMakeLists.txt b/tdeabc/plugins/net/CMakeLists.txt index f5b79bee9..532e82755 100644 --- a/tdeabc/plugins/net/CMakeLists.txt +++ b/tdeabc/plugins/net/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE net.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) -- cgit v1.2.1