summaryrefslogtreecommitdiffstats
path: root/tdeabc
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 /tdeabc
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 'tdeabc')
-rw-r--r--tdeabc/CMakeLists.txt4
-rw-r--r--tdeabc/formats/CMakeLists.txt2
-rw-r--r--tdeabc/plugins/dir/CMakeLists.txt2
-rw-r--r--tdeabc/plugins/file/CMakeLists.txt2
-rw-r--r--tdeabc/plugins/ldaptdeio/CMakeLists.txt2
-rw-r--r--tdeabc/plugins/net/CMakeLists.txt2
6 files changed, 7 insertions, 7 deletions
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
)