@ -1470,8 +1470,8 @@ macro( tde_create_tarball )
# f o u n d d i r e c t i v e " D E S T I N A T I O N "
# f o u n d d i r e c t i v e " D E S T I N A T I O N "
if ( "+${_arg}" STREQUAL "+DESTINATION" )
if ( "+${_arg}" STREQUAL "+DESTINATION" )
unset ( _dest )
unset ( _dest ination )
set ( _var _dest )
set ( _var _dest ination )
set ( _directive 1 )
set ( _directive 1 )
endif ( )
endif ( )
@ -1492,6 +1492,11 @@ macro( tde_create_tarball )
file ( GLOB_RECURSE _files RELATIVE ${ _sourcedir } "${_sourcedir}/*" )
file ( GLOB_RECURSE _files RELATIVE ${ _sourcedir } "${_sourcedir}/*" )
endif ( )
endif ( )
unset ( _files_deps )
foreach ( _file ${ _files } )
list ( APPEND _files_deps "${_sourcedir}/${_file}" )
endforeach ( )
get_filename_component ( _target_path "${CMAKE_CURRENT_BINARY_DIR}/${_target}" ABSOLUTE )
get_filename_component ( _target_path "${CMAKE_CURRENT_BINARY_DIR}/${_target}" ABSOLUTE )
file ( RELATIVE_PATH _target_path "${CMAKE_BINARY_DIR}" "${_target_path}" )
file ( RELATIVE_PATH _target_path "${CMAKE_BINARY_DIR}" "${_target_path}" )
string ( REPLACE "/" "+" _target_name "${_target_path}" )
string ( REPLACE "/" "+" _target_name "${_target_path}" )
@ -1502,7 +1507,7 @@ macro( tde_create_tarball )
C O M M A N D $ { C M A K E _ C O M M A N D } - E t a r " c f z " " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ t a r g e t } " - - $ { _ f i l e s }
C O M M A N D $ { C M A K E _ C O M M A N D } - E t a r " c f z " " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ t a r g e t } " - - $ { _ f i l e s }
W O R K I N G _ D I R E C T O R Y " $ { _ s o u r c e d i r } "
W O R K I N G _ D I R E C T O R Y " $ { _ s o u r c e d i r } "
O U T P U T " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ t a r g e t } "
O U T P U T " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ t a r g e t } "
D E P E N D S $ { _ f i l e s }
D E P E N D S $ { _ f i l e s _d e p s }
C O M M E N T " C r e a t e t a r b a l l $ { _ t a r g e t _ p a t h } "
C O M M E N T " C r e a t e t a r b a l l $ { _ t a r g e t _ p a t h } "
)
)