Simplify CMake rules for desktop file translations.

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

@ -37,21 +37,15 @@ tde_add_kpart( tdeio_apt MODULE AUTOMOC
##### other data
foreach( _protocol apt.protocol apt+http.protocol )
tde_create_translated_desktop(
SOURCE ${_protocol}
tde_create_translated_desktop(
SOURCE apt.protocol apt+http.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
endforeach( )
)
foreach( _desktop apt-file.desktop apt-files.desktop apt-search.desktop )
tde_create_translated_desktop(
SOURCE ${_desktop}
tde_create_translated_desktop(
SOURCE apt-file.desktop apt-files.desktop apt-search.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
endforeach( )
)
install(
FILES tdeio_apt.css tdedeb_logo.png

Loading…
Cancel
Save