summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-25 13:36:35 +0200
committerSlávek Banko <[email protected]>2020-06-25 13:38:09 +0200
commit3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch)
treeee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /kate
parent6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff)
downloadtdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz
tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
Diffstat (limited to 'kate')
-rw-r--r--kate/data/CMakeLists.txt2
-rw-r--r--kate/plugins/insertfile/CMakeLists.txt2
-rw-r--r--kate/plugins/isearch/CMakeLists.txt2
-rw-r--r--kate/plugins/kdatatool/CMakeLists.txt2
-rw-r--r--kate/plugins/wordcompletion/CMakeLists.txt2
-rw-r--r--kate/scripts/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/kate/data/CMakeLists.txt b/kate/data/CMakeLists.txt
index e87517a75..6c9e158cb 100644
--- a/kate/data/CMakeLists.txt
+++ b/kate/data/CMakeLists.txt
@@ -14,7 +14,7 @@
tde_create_translated_desktop(
SOURCE katepart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES
diff --git a/kate/plugins/insertfile/CMakeLists.txt b/kate/plugins/insertfile/CMakeLists.txt
index db60547ae..a487611f8 100644
--- a/kate/plugins/insertfile/CMakeLists.txt
+++ b/kate/plugins/insertfile/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_insertfile.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_insertfile )
diff --git a/kate/plugins/isearch/CMakeLists.txt b/kate/plugins/isearch/CMakeLists.txt
index b27048597..a7bef9ac5 100644
--- a/kate/plugins/isearch/CMakeLists.txt
+++ b/kate/plugins/isearch/CMakeLists.txt
@@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_isearch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_isearch )
diff --git a/kate/plugins/kdatatool/CMakeLists.txt b/kate/plugins/kdatatool/CMakeLists.txt
index 359ffbbc4..593afc743 100644
--- a/kate/plugins/kdatatool/CMakeLists.txt
+++ b/kate/plugins/kdatatool/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_kdatatool.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kdatatool )
diff --git a/kate/plugins/wordcompletion/CMakeLists.txt b/kate/plugins/wordcompletion/CMakeLists.txt
index 3dbd24e29..dbdc7e494 100644
--- a/kate/plugins/wordcompletion/CMakeLists.txt
+++ b/kate/plugins/wordcompletion/CMakeLists.txt
@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_docwordcompletion.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_docwordcompletion )
diff --git a/kate/scripts/CMakeLists.txt b/kate/scripts/CMakeLists.txt
index b01e9f1db..fbb1b3576 100644
--- a/kate/scripts/CMakeLists.txt
+++ b/kate/scripts/CMakeLists.txt
@@ -14,7 +14,7 @@
tde_create_translated_desktop(
SOURCE jstest.desktop
DESTINATION ${DATA_INSTALL_DIR}/katepart/scripts
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES