summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
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 /klaptopdaemon
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 'klaptopdaemon')
-rw-r--r--klaptopdaemon/applnk/CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/klaptopdaemon/applnk/CMakeLists.txt b/klaptopdaemon/applnk/CMakeLists.txt
index 095cd06..e5c8003 100644
--- a/klaptopdaemon/applnk/CMakeLists.txt
+++ b/klaptopdaemon/applnk/CMakeLists.txt
@@ -9,15 +9,13 @@
#
#################################################
-foreach( _desktop laptop.desktop pcmcia.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE laptop.desktop pcmcia.desktop
+ PO_DIR klaptopdaemon-desktops
+)
tde_create_translated_desktop(
SOURCE klaptopdaemon.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops
+ PO_DIR klaptopdaemon-desktops
)