diff options
author | Slávek Banko <[email protected]> | 2020-07-10 03:27:17 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-10 03:27:17 +0200 |
commit | 8ed082c175b6020e96710c185df8eaaee6c25551 (patch) | |
tree | dc9821dd8a642cd1061609cff5dc14ec2d0725cf | |
parent | 5f861d810af181e614659508c03ab76511b57439 (diff) | |
download | tdeio-apt-8ed082c175b6020e96710c185df8eaaee6c25551.tar.gz tdeio-apt-8ed082c175b6020e96710c185df8eaaee6c25551.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | src/CMakeLists.txt | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7d9cf9e..0e04565 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 |