|
|
@ -2347,7 +2347,9 @@ function( tde_add_project_docs )
|
|
|
|
add_subdirectory( ${DOCS_SOURCE_DIR}/${_dir} )
|
|
|
|
add_subdirectory( ${DOCS_SOURCE_DIR}/${_dir} )
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
unset( _skip_subdir )
|
|
|
|
unset( _skip_subdir )
|
|
|
|
if( ${_dir} MATCHES "/[^/]*/" )
|
|
|
|
if( ${_dir} MATCHES "/[^/]*/" OR
|
|
|
|
|
|
|
|
( ${_dir} MATCHES "/" AND
|
|
|
|
|
|
|
|
NOT ${_dir} MATCHES "^[^/]*/(kcontrol|tdeioslave)$" ))
|
|
|
|
string( REGEX REPLACE "^[^/]*/(.*)" "\\1" _doc_dest "${_dir}" )
|
|
|
|
string( REGEX REPLACE "^[^/]*/(.*)" "\\1" _doc_dest "${_dir}" )
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
string( REGEX REPLACE "^[^/]*/(.*)" "\\1" _doc_dest "${_dir}/${PROJECT_NAME}" )
|
|
|
|
string( REGEX REPLACE "^[^/]*/(.*)" "\\1" _doc_dest "${_dir}/${PROJECT_NAME}" )
|
|
|
|