diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:24:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:24:40 +0200 |
commit | 2fa177c5d6d5801a5a13ff21bf5c3e6757874e03 (patch) | |
tree | b1f89091a3c7d4ead83f215596c7e2382c3af2c3 /tdewallet | |
parent | 6afcd26d9e618e16f646bfefd33e30aa3c653798 (diff) | |
download | tdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.tar.gz tdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdewallet')
-rw-r--r-- | tdewallet/CMakeLists.txt | 10 | ||||
-rw-r--r-- | tdewallet/konfigurator/CMakeLists.txt | 14 |
2 files changed, 10 insertions, 14 deletions
diff --git a/tdewallet/CMakeLists.txt b/tdewallet/CMakeLists.txt index 659d654..ed42c23 100644 --- a/tdewallet/CMakeLists.txt +++ b/tdewallet/CMakeLists.txt @@ -48,9 +48,7 @@ install( FILES tdewalletmanager.rc tdewalleteditor.rc DESTINATION ${DATA_INSTALL_DIR}/tdewalletmanager ) -foreach( _desktop tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop + PO_DIR tdewallet-desktops +) diff --git a/tdewallet/konfigurator/CMakeLists.txt b/tdewallet/konfigurator/CMakeLists.txt index b640df8..53f6cb9 100644 --- a/tdewallet/konfigurator/CMakeLists.txt +++ b/tdewallet/konfigurator/CMakeLists.txt @@ -35,13 +35,11 @@ tde_add_kpart( kcm_tdewallet AUTOMOC tde_create_translated_desktop( SOURCE tdewalletconfig.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops + PO_DIR tdewallet-desktops ) -foreach( _desktop tdewallet_config.desktop tdewalletmanager_show.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE tdewallet_config.desktop tdewalletmanager_show.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdewallet-desktops +) |