|
|
@ -5,11 +5,10 @@ string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
|
|
|
|
|
|
|
|
|
|
|
|
# base documentation
|
|
|
|
# base documentation
|
|
|
|
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
|
|
|
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
|
|
|
list( REMOVE_ITEM _dirs "tdeioslave" )
|
|
|
|
list( REMOVE_ITEM _dirs html man tdeioslave )
|
|
|
|
|
|
|
|
|
|
|
|
foreach( _dir IN LISTS _dirs )
|
|
|
|
foreach( _dir IN LISTS _dirs )
|
|
|
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
|
|
|
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
|
|
|
|
AND NOT "${_dir}" STREQUAL "man"
|
|
|
|
|
|
|
|
AND ( "${_dir}" STREQUAL "en" OR
|
|
|
|
AND ( "${_dir}" STREQUAL "en" OR
|
|
|
|
"${_linguas}" MATCHES "^;*$" OR
|
|
|
|
"${_linguas}" MATCHES "^;*$" OR
|
|
|
|
";${_linguas};" MATCHES ";${_dir};" ))
|
|
|
|
";${_linguas};" MATCHES ";${_dir};" ))
|
|
|
@ -36,7 +35,7 @@ endforeach()
|
|
|
|
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/tdeioslave tdeioslave/*/* )
|
|
|
|
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/tdeioslave tdeioslave/*/* )
|
|
|
|
|
|
|
|
|
|
|
|
foreach( _dir IN LISTS _dirs )
|
|
|
|
foreach( _dir IN LISTS _dirs )
|
|
|
|
get_filename_component( _lang ${_dir} DIRECTORY )
|
|
|
|
get_filename_component( _lang ${_dir} PATH )
|
|
|
|
get_filename_component( _protocol ${_dir} NAME )
|
|
|
|
get_filename_component( _protocol ${_dir} NAME )
|
|
|
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tdeioslave/${_dir}
|
|
|
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tdeioslave/${_dir}
|
|
|
|
AND NOT "${_lang}" STREQUAL "man"
|
|
|
|
AND NOT "${_lang}" STREQUAL "man"
|
|
|
|