Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 4 years ago
parent 4c75be39de
commit e98f4eb40a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

Loading…
Cancel
Save