summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:14:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:14:28 +0200
commite98f4eb40a34013a08973171b803ec4e8aa3b735 (patch)
tree82efbfdb07d4ffebbeeb8b02f17ae6d75c54c885
parent4c75be39de5f0d793c2aec9b8a721e9c097f8fd1 (diff)
downloadkatapult-e98f4eb40a34013a08973171b803ec4e8aa3b735.tar.gz
katapult-e98f4eb40a34013a08973171b803ec4e8aa3b735.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--katapult/common/CMakeLists.txt4
-rw-r--r--katapult/plugins/catalogs/amarokcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/bookmarkcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/calculatorcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/documentcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/execcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/googlecatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/programcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/catalogs/spellcatalog/CMakeLists.txt2
-rw-r--r--katapult/plugins/display/glassdisplay/CMakeLists.txt2
-rw-r--r--katapult/plugins/display/o2display/CMakeLists.txt2
-rw-r--r--katapult/plugins/display/puredisplay/CMakeLists.txt2
12 files changed, 13 insertions, 13 deletions
diff --git a/katapult/common/CMakeLists.txt b/katapult/common/CMakeLists.txt
index 714a983..3df88b5 100644
--- a/katapult/common/CMakeLists.txt
+++ b/katapult/common/CMakeLists.txt
@@ -40,11 +40,11 @@ tde_add_library( ${PROJECT_NAME} SHARED AUTOMOC
tde_create_translated_desktop(
SOURCE katapultcatalog.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
tde_create_translated_desktop(
SOURCE katapultdisplay.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
+ PO_DIR katapult-displays
)
diff --git a/katapult/plugins/catalogs/amarokcatalog/CMakeLists.txt b/katapult/plugins/catalogs/amarokcatalog/CMakeLists.txt
index b8e66dd..f1619ca 100644
--- a/katapult/plugins/catalogs/amarokcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/amarokcatalog/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( katapult_amarokcatalog AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_amarokcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/bookmarkcatalog/CMakeLists.txt b/katapult/plugins/catalogs/bookmarkcatalog/CMakeLists.txt
index f0296ce..05ea498 100644
--- a/katapult/plugins/catalogs/bookmarkcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/bookmarkcatalog/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( katapult_bookmarkcatalog AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_bookmarkcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/calculatorcatalog/CMakeLists.txt b/katapult/plugins/catalogs/calculatorcatalog/CMakeLists.txt
index 1e9e0e2..2037f6e 100644
--- a/katapult/plugins/catalogs/calculatorcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/calculatorcatalog/CMakeLists.txt
@@ -43,5 +43,5 @@ tde_install_icons( xcalc checkmark no )
tde_create_translated_desktop(
SOURCE katapult_calculatorcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/documentcatalog/CMakeLists.txt b/katapult/plugins/catalogs/documentcatalog/CMakeLists.txt
index 896702f..735ee7c 100644
--- a/katapult/plugins/catalogs/documentcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/documentcatalog/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( katapult_documentcatalog AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_documentcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/execcatalog/CMakeLists.txt b/katapult/plugins/catalogs/execcatalog/CMakeLists.txt
index c8a75f8..9dd856a 100644
--- a/katapult/plugins/catalogs/execcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/execcatalog/CMakeLists.txt
@@ -42,5 +42,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE katapult_execcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/googlecatalog/CMakeLists.txt b/katapult/plugins/catalogs/googlecatalog/CMakeLists.txt
index 65e1c1c..7551a32 100644
--- a/katapult/plugins/catalogs/googlecatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/googlecatalog/CMakeLists.txt
@@ -42,5 +42,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE katapult_googlecatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/programcatalog/CMakeLists.txt b/katapult/plugins/catalogs/programcatalog/CMakeLists.txt
index f386d61..8a7f243 100644
--- a/katapult/plugins/catalogs/programcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/programcatalog/CMakeLists.txt
@@ -37,5 +37,5 @@ tde_add_kpart( katapult_programcatalog AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_programcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/catalogs/spellcatalog/CMakeLists.txt b/katapult/plugins/catalogs/spellcatalog/CMakeLists.txt
index 8dd43ea..5e4aaf3 100644
--- a/katapult/plugins/catalogs/spellcatalog/CMakeLists.txt
+++ b/katapult/plugins/catalogs/spellcatalog/CMakeLists.txt
@@ -42,5 +42,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE katapult_spellcatalog.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-catalogs
+ PO_DIR katapult-catalogs
)
diff --git a/katapult/plugins/display/glassdisplay/CMakeLists.txt b/katapult/plugins/display/glassdisplay/CMakeLists.txt
index acc57e2..dc3bd39 100644
--- a/katapult/plugins/display/glassdisplay/CMakeLists.txt
+++ b/katapult/plugins/display/glassdisplay/CMakeLists.txt
@@ -33,5 +33,5 @@ tde_add_kpart( katapult_glassdisplay AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_glassdisplay.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
+ PO_DIR katapult-displays
)
diff --git a/katapult/plugins/display/o2display/CMakeLists.txt b/katapult/plugins/display/o2display/CMakeLists.txt
index 9bc2543..352fe99 100644
--- a/katapult/plugins/display/o2display/CMakeLists.txt
+++ b/katapult/plugins/display/o2display/CMakeLists.txt
@@ -33,5 +33,5 @@ tde_add_kpart( katapult_o2display AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_o2display.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
+ PO_DIR katapult-displays
)
diff --git a/katapult/plugins/display/puredisplay/CMakeLists.txt b/katapult/plugins/display/puredisplay/CMakeLists.txt
index c24fe80..7091cea 100644
--- a/katapult/plugins/display/puredisplay/CMakeLists.txt
+++ b/katapult/plugins/display/puredisplay/CMakeLists.txt
@@ -33,5 +33,5 @@ tde_add_kpart( katapult_puredisplay AUTOMOC
tde_create_translated_desktop(
SOURCE katapult_puredisplay.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/katapult-displays
+ PO_DIR katapult-displays
)