summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:39:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:39:20 +0200
commitc3aaed9d35f8f382e13a99ec15f9deb9da89a6a9 (patch)
tree35c7c5be6a2db17e1c32969ad372fac9b016d7c3
parent3104de6d14e47a7332285b1a12085d5481925aa3 (diff)
downloadtdeadmin-c3aaed9d35f8f382e13a99ec15f9deb9da89a6a9.tar.gz
tdeadmin-c3aaed9d35f8f382e13a99ec15f9deb9da89a6a9.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172)
-rw-r--r--knetworkconf/knetworkconf/CMakeLists.txt2
-rw-r--r--ksysv/CMakeLists.txt6
-rw-r--r--tdefile-plugins/deb/CMakeLists.txt2
-rw-r--r--tdefile-plugins/rpm/CMakeLists.txt2
4 files changed, 6 insertions, 6 deletions
diff --git a/knetworkconf/knetworkconf/CMakeLists.txt b/knetworkconf/knetworkconf/CMakeLists.txt
index a87ef3d..a8e9083 100644
--- a/knetworkconf/knetworkconf/CMakeLists.txt
+++ b/knetworkconf/knetworkconf/CMakeLists.txt
@@ -42,5 +42,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE kcm_knetworkconfmodule.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/knetworkconf-desktops
+ PO_DIR knetworkconf-desktops
)
diff --git a/ksysv/CMakeLists.txt b/ksysv/CMakeLists.txt
index 219ed08..f21f896 100644
--- a/ksysv/CMakeLists.txt
+++ b/ksysv/CMakeLists.txt
@@ -44,17 +44,17 @@ install( FILES ksysvui.rc
tde_create_translated_desktop(
SOURCE ksysv.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
+ PO_DIR ksysv-desktops
)
tde_create_translated_desktop(
SOURCE x-ksysv-log.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
+ PO_DIR ksysv-desktops
)
tde_create_translated_desktop(
SOURCE x-ksysv.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
+ PO_DIR ksysv-desktops
)
diff --git a/tdefile-plugins/deb/CMakeLists.txt b/tdefile-plugins/deb/CMakeLists.txt
index a6503e0..ef9442c 100644
--- a/tdefile-plugins/deb/CMakeLists.txt
+++ b/tdefile-plugins/deb/CMakeLists.txt
@@ -28,5 +28,5 @@ tde_add_kpart( tdefile_deb AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_deb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/rpm/CMakeLists.txt b/tdefile-plugins/rpm/CMakeLists.txt
index a3e44ef..f96a554 100644
--- a/tdefile-plugins/rpm/CMakeLists.txt
+++ b/tdefile-plugins/rpm/CMakeLists.txt
@@ -28,5 +28,5 @@ tde_add_kpart( tdefile_rpm AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_rpm.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)