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:08 +0200
commit31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172 (patch)
treeea4c0e66fe2658a85365e8168d07020142776010
parent11072a51109beb71d2d3bf7d8ba26f079d23b48d (diff)
downloadtdeadmin-31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172.tar.gz
tdeadmin-31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 ccfd5c2..dc23479 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
)