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:34 +0200 |
commit | 63051b89e5faf4bc29b6e35a4abf45b64bd97786 (patch) | |
tree | 45392ad8c9d64165fcaf552ee665501a3a843ba9 /src | |
parent | b37cc7bf4e5f85fb857486274a248169fd6090d3 (diff) | |
download | tdeio-apt-63051b89e5faf4bc29b6e35a4abf45b64bd97786.tar.gz tdeio-apt-63051b89e5faf4bc29b6e35a4abf45b64bd97786.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 8ed082c175b6020e96710c185df8eaaee6c25551)
Diffstat (limited to 'src')
-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 |