Simplify CMake rules for desktop file translations.

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

@ -42,5 +42,5 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE kcm_knetworkconfmodule.desktop
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/knetworkconf-desktops
PO_DIR knetworkconf-desktops
)

@ -44,17 +44,17 @@ install( FILES ksysvui.rc
tde_create_translated_desktop(
SOURCE ksysv.desktop
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
PO_DIR ksysv-desktops
)
tde_create_translated_desktop(
SOURCE x-ksysv-log.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
PO_DIR ksysv-desktops
)
tde_create_translated_desktop(
SOURCE x-ksysv.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
PO_DIR ksysv-desktops
)

@ -28,5 +28,5 @@ tde_add_kpart( tdefile_deb AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_deb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
PO_DIR tdefile-desktops
)

@ -28,5 +28,5 @@ tde_add_kpart( tdefile_rpm AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_rpm.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
PO_DIR tdefile-desktops
)

Loading…
Cancel
Save