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:36:35 +0200
commit42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch)
tree10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /tdeabc
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 '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
)