diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:40:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:40:54 +0200 |
commit | bcbe4700e9612098ea94ac40ac95e23769ba5e10 (patch) | |
tree | 8fb8536f5bb8f5c955f774b26a187fbef0762359 | |
parent | eeadc3f5cae5e5f0ae2b618b0521179fe2a37cd8 (diff) | |
download | tdeartwork-bcbe4700e9612098ea94ac40ac95e23769ba5e10.tar.gz tdeartwork-bcbe4700e9612098ea94ac40ac95e23769ba5e10.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1e91884c7c3990f5d5e7dafb028e558a4852568c)
-rw-r--r-- | IconThemes/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kworldclock/CMakeLists.txt | 2 | ||||
-rw-r--r-- | styles/dotnet/CMakeLists.txt | 2 | ||||
-rw-r--r-- | styles/phase/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/kxsconfig/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/tdepartsaver/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/xsavers/CMakeLists.txt | 4 | ||||
-rw-r--r-- | twin-styles/cde/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/glow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/icewm/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/kde1/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/kstep/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/openlook/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/riscos/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/smooth-blend/client/CMakeLists.txt | 2 | ||||
-rw-r--r-- | twin-styles/system/CMakeLists.txt | 2 | ||||
-rw-r--r-- | wallpapers/CMakeLists.txt | 2 |
18 files changed, 19 insertions, 19 deletions
diff --git a/IconThemes/CMakeLists.txt b/IconThemes/CMakeLists.txt index b692ff00..202cb962 100644 --- a/IconThemes/CMakeLists.txt +++ b/IconThemes/CMakeLists.txt @@ -20,7 +20,7 @@ foreach (theme ${ICON_THEMES}) tde_create_translated_desktop( SOURCE ${theme}/index.theme DESTINATION ${ICON_INSTALL_DIR}/${theme} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/icon-themes + PO_DIR icon-themes ) foreach(size ${ICON_SIZES}) foreach(type ${ICON_TYPES}) diff --git a/kworldclock/CMakeLists.txt b/kworldclock/CMakeLists.txt index 2f359034..624bb13b 100644 --- a/kworldclock/CMakeLists.txt +++ b/kworldclock/CMakeLists.txt @@ -29,7 +29,7 @@ foreach( _theme IN LISTS _themes ) tde_create_translated_desktop( SOURCE ${_theme}/${_theme}.desktop DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/${_theme}" - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes + PO_DIR kworldclock-themes ) endif() endforeach() diff --git a/styles/dotnet/CMakeLists.txt b/styles/dotnet/CMakeLists.txt index 824aff4c..e3c00aca 100644 --- a/styles/dotnet/CMakeLists.txt +++ b/styles/dotnet/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE dotnet.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes + PO_DIR style-themes ) diff --git a/styles/phase/CMakeLists.txt b/styles/phase/CMakeLists.txt index 2c9dcca4..f1a32611 100644 --- a/styles/phase/CMakeLists.txt +++ b/styles/phase/CMakeLists.txt @@ -31,7 +31,7 @@ add_subdirectory( config ) tde_create_translated_desktop( SOURCE phase.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes + PO_DIR style-themes ) ##### phasestyle ################################# diff --git a/tdescreensaver/kdesavers/CMakeLists.txt b/tdescreensaver/kdesavers/CMakeLists.txt index 16eb09a8..0f479186 100644 --- a/tdescreensaver/kdesavers/CMakeLists.txt +++ b/tdescreensaver/kdesavers/CMakeLists.txt @@ -135,7 +135,7 @@ foreach( saver ${SCREENSAVERS} ) tde_create_translated_desktop( SOURCE ${${saver}_DESKTOP} DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + PO_DIR tdescreensaver-desktops ) endforeach( saver ${SCREENSAVERS} ) diff --git a/tdescreensaver/kxsconfig/CMakeLists.txt b/tdescreensaver/kxsconfig/CMakeLists.txt index bbc9370b..442b7b49 100644 --- a/tdescreensaver/kxsconfig/CMakeLists.txt +++ b/tdescreensaver/kxsconfig/CMakeLists.txt @@ -60,7 +60,7 @@ foreach(_currentdesktopfile ${_desktopfiles}) tde_create_translated_desktop( SOURCE ${_currentdesktopfile} DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + PO_DIR tdescreensaver-desktops ) else(XSCREENSAVER_FILE_FOUND) MESSAGE(STATUS "xscreensaver name ${_screensaverName} not found") diff --git a/tdescreensaver/tdepartsaver/CMakeLists.txt b/tdescreensaver/tdepartsaver/CMakeLists.txt index 496be133..4a7e9dff 100644 --- a/tdescreensaver/tdepartsaver/CMakeLists.txt +++ b/tdescreensaver/tdepartsaver/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdepartsaver.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + PO_DIR tdescreensaver-desktops ) ##### kpart_cde ################################## diff --git a/tdescreensaver/xsavers/CMakeLists.txt b/tdescreensaver/xsavers/CMakeLists.txt index 929159c1..8ca15f8c 100644 --- a/tdescreensaver/xsavers/CMakeLists.txt +++ b/tdescreensaver/xsavers/CMakeLists.txt @@ -36,7 +36,7 @@ tde_add_executable( kswarm.kss AUTOMOC tde_create_translated_desktop( SOURCE KSwarm.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + PO_DIR tdescreensaver-desktops ) ##### kswarm ################################# @@ -53,6 +53,6 @@ if( WITH_OPENGL ) tde_create_translated_desktop( SOURCE KSpace.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops + PO_DIR tdescreensaver-desktops ) endif( WITH_OPENGL ) diff --git a/twin-styles/cde/CMakeLists.txt b/twin-styles/cde/CMakeLists.txt index b03936c6..b9d5b69f 100644 --- a/twin-styles/cde/CMakeLists.txt +++ b/twin-styles/cde/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( tde_create_translated_desktop( SOURCE cde.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/glow/CMakeLists.txt b/twin-styles/glow/CMakeLists.txt index b924f8fb..c2964870 100644 --- a/twin-styles/glow/CMakeLists.txt +++ b/twin-styles/glow/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE glow.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/icewm/CMakeLists.txt b/twin-styles/icewm/CMakeLists.txt index b8b061f2..e710a977 100644 --- a/twin-styles/icewm/CMakeLists.txt +++ b/twin-styles/icewm/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE icewm.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/kde1/CMakeLists.txt b/twin-styles/kde1/CMakeLists.txt index 55611f10..d8319f10 100644 --- a/twin-styles/kde1/CMakeLists.txt +++ b/twin-styles/kde1/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( tde_create_translated_desktop( SOURCE kde1.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/kstep/CMakeLists.txt b/twin-styles/kstep/CMakeLists.txt index 1bb68bd5..a47ddd3c 100644 --- a/twin-styles/kstep/CMakeLists.txt +++ b/twin-styles/kstep/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( tde_create_translated_desktop( SOURCE kstep.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/openlook/CMakeLists.txt b/twin-styles/openlook/CMakeLists.txt index 0fb71b13..a6d9e152 100644 --- a/twin-styles/openlook/CMakeLists.txt +++ b/twin-styles/openlook/CMakeLists.txt @@ -25,7 +25,7 @@ link_directories( tde_create_translated_desktop( SOURCE openlook.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/riscos/CMakeLists.txt b/twin-styles/riscos/CMakeLists.txt index 7dc19584..b20d6856 100644 --- a/twin-styles/riscos/CMakeLists.txt +++ b/twin-styles/riscos/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( tde_create_translated_desktop( SOURCE riscos.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/smooth-blend/client/CMakeLists.txt b/twin-styles/smooth-blend/client/CMakeLists.txt index e6d7e049..20f08d87 100644 --- a/twin-styles/smooth-blend/client/CMakeLists.txt +++ b/twin-styles/smooth-blend/client/CMakeLists.txt @@ -30,7 +30,7 @@ link_directories( tde_create_translated_desktop( SOURCE smoothblend.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/twin-styles/system/CMakeLists.txt b/twin-styles/system/CMakeLists.txt index 82dc23cb..726adaa2 100644 --- a/twin-styles/system/CMakeLists.txt +++ b/twin-styles/system/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( tde_create_translated_desktop( SOURCE system.desktop DESTINATION ${DATA_INSTALL_DIR}/twin - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops + PO_DIR twin-styles-desktops ) diff --git a/wallpapers/CMakeLists.txt b/wallpapers/CMakeLists.txt index c2fa86b0..592cc1c3 100644 --- a/wallpapers/CMakeLists.txt +++ b/wallpapers/CMakeLists.txt @@ -24,7 +24,7 @@ foreach( _wallpaper IN LISTS _wallpapers ) tde_create_translated_desktop( SOURCE ${_wallpaper}.desktop DESTINATION ${WALLPAPER_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/wallpapers-desktops + PO_DIR wallpapers-desktops ) endif() endforeach() |