summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
commit2fa177c5d6d5801a5a13ff21bf5c3e6757874e03 (patch)
treeb1f89091a3c7d4ead83f215596c7e2382c3af2c3 /ksim
parent6afcd26d9e618e16f646bfefd33e30aa3c653798 (diff)
downloadtdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.tar.gz
tdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ksim')
-rw-r--r--ksim/CMakeLists.txt2
-rw-r--r--ksim/monitors/cpu/CMakeLists.txt2
-rw-r--r--ksim/monitors/disk/CMakeLists.txt2
-rw-r--r--ksim/monitors/filesystem/CMakeLists.txt2
-rw-r--r--ksim/monitors/i8k/CMakeLists.txt2
-rw-r--r--ksim/monitors/lm_sensors/CMakeLists.txt2
-rw-r--r--ksim/monitors/mail/CMakeLists.txt2
-rw-r--r--ksim/monitors/net/CMakeLists.txt2
-rw-r--r--ksim/monitors/snmp/CMakeLists.txt2
9 files changed, 9 insertions, 9 deletions
diff --git a/ksim/CMakeLists.txt b/ksim/CMakeLists.txt
index 20fc59e..e6dbfa7 100644
--- a/ksim/CMakeLists.txt
+++ b/ksim/CMakeLists.txt
@@ -53,7 +53,7 @@ tde_add_kpart( ksim_panelextension AUTOMOC
tde_create_translated_desktop(
SOURCE ksim.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/extensions
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
install( FILES ksim_panelextensionrc
diff --git a/ksim/monitors/cpu/CMakeLists.txt b/ksim/monitors/cpu/CMakeLists.txt
index 73b8b38..7cd6889 100644
--- a/ksim/monitors/cpu/CMakeLists.txt
+++ b/ksim/monitors/cpu/CMakeLists.txt
@@ -43,5 +43,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE cpu.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/disk/CMakeLists.txt b/ksim/monitors/disk/CMakeLists.txt
index d4c0f09..ebd30a8 100644
--- a/ksim/monitors/disk/CMakeLists.txt
+++ b/ksim/monitors/disk/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_disk AUTOMOC
tde_create_translated_desktop(
SOURCE disk.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/filesystem/CMakeLists.txt b/ksim/monitors/filesystem/CMakeLists.txt
index 994436d..bcb591e 100644
--- a/ksim/monitors/filesystem/CMakeLists.txt
+++ b/ksim/monitors/filesystem/CMakeLists.txt
@@ -40,5 +40,5 @@ tde_add_kpart( ksim_filesystem AUTOMOC
tde_create_translated_desktop(
SOURCE DFree.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/i8k/CMakeLists.txt b/ksim/monitors/i8k/CMakeLists.txt
index 5221ab7..1afc456 100644
--- a/ksim/monitors/i8k/CMakeLists.txt
+++ b/ksim/monitors/i8k/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_i8k AUTOMOC
tde_create_translated_desktop(
SOURCE i8k.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/lm_sensors/CMakeLists.txt b/ksim/monitors/lm_sensors/CMakeLists.txt
index b76716d..67b670e 100644
--- a/ksim/monitors/lm_sensors/CMakeLists.txt
+++ b/ksim/monitors/lm_sensors/CMakeLists.txt
@@ -46,5 +46,5 @@ tde_add_kpart( ksim_sensors AUTOMOC
tde_create_translated_desktop(
SOURCE Lm_sensors.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/mail/CMakeLists.txt b/ksim/monitors/mail/CMakeLists.txt
index d38a4f4..bfc9264 100644
--- a/ksim/monitors/mail/CMakeLists.txt
+++ b/ksim/monitors/mail/CMakeLists.txt
@@ -36,5 +36,5 @@ tde_add_kpart( ksim_mail AUTOMOC
tde_create_translated_desktop(
SOURCE mail.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/net/CMakeLists.txt b/ksim/monitors/net/CMakeLists.txt
index 06db8fd..807121a 100644
--- a/ksim/monitors/net/CMakeLists.txt
+++ b/ksim/monitors/net/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( ksim_net AUTOMOC
tde_create_translated_desktop(
SOURCE Net.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)
diff --git a/ksim/monitors/snmp/CMakeLists.txt b/ksim/monitors/snmp/CMakeLists.txt
index 62fba63..82acc95 100644
--- a/ksim/monitors/snmp/CMakeLists.txt
+++ b/ksim/monitors/snmp/CMakeLists.txt
@@ -48,5 +48,5 @@ tde_add_kpart( ksim_snmp AUTOMOC
tde_create_translated_desktop(
SOURCE Snmp.desktop
DESTINATION ${DATA_INSTALL_DIR}/ksim/monitors
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksim-desktops
+ PO_DIR ksim-desktops
)