diff options
author | Ray-V <ray-v@inbox.lv> | 2021-06-17 20:29:29 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-06-18 02:39:22 +0200 |
commit | 736bdb7edd41bf8caac7dea748f1e801192f7583 (patch) | |
tree | 0c23afdab82884aa70ce07fba8011296f0cfa1cf /translations/messages/CMakeLists.txt | |
parent | ca8acd088527f17a02dc747d04e203cd1342db4d (diff) | |
download | kvpnc-736bdb7edd41bf8caac7dea748f1e801192f7583.tar.gz kvpnc-736bdb7edd41bf8caac7dea748f1e801192f7583.zip |
Removed CMakeLists.txt from doc and translations trees
Deleted and added macro calls to toplevel CMakeLists.txt
Moved doc/tdeioslave/en/pcf to doc/en/tdeioslave/pcf
Signed-off-by: Ray-V <ray-v@inbox.lv>
(cherry picked from commit df31e02c1f27eada610c8027ea7c9c7fcd9c3111)
Diffstat (limited to 'translations/messages/CMakeLists.txt')
-rw-r--r-- | translations/messages/CMakeLists.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt deleted file mode 100644 index 75c89f8..0000000 --- a/translations/messages/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) -string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) - -foreach( _po ${po_files} ) - get_filename_component( _lang ${_po} NAME_WE ) - if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" ) - if( "${_po}" MATCHES "^([^/]*)/.*" ) - string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" ) - else( ) - set( _component "${PROJECT_NAME}" ) - endif( ) - tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} ) - endif( ) -endforeach( ) |