|
|
@ -9,18 +9,26 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
|
|
|
|
function( generate_tar output source )
|
|
|
|
file( GLOB _admin_content RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} admin/* )
|
|
|
|
add_custom_target( ${output} ALL
|
|
|
|
list(
|
|
|
|
COMMAND ${TAR} -zcf ${output} --exclude=.svn --exclude=*.cdbs-orig -C ${CMAKE_CURRENT_SOURCE_DIR}/${source} ${ARGN} )
|
|
|
|
REMOVE_ITEM _admin_content admin/.git
|
|
|
|
endfunction( )
|
|
|
|
admin/config.guess.cdbs-orig admin/config.sub.cdbs-orig
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file( GLOB _incadmin_content RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/incadmin incadmin/* )
|
|
|
|
|
|
|
|
list( REMOVE_ITEM _incadmin_content config.guess.cdbs-orig config.sub.cdbs-orig )
|
|
|
|
|
|
|
|
|
|
|
|
generate_tar( admin.tar.gz "" admin )
|
|
|
|
tde_create_tarball( TARGET admin.tar.gz FILES ${_admin_content} )
|
|
|
|
generate_tar( gnome.tar.gz gnome macros )
|
|
|
|
tde_create_tarball( TARGET gnome.tar.gz SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/gnome )
|
|
|
|
generate_tar( gnome2.tar.gz gnome2 macros )
|
|
|
|
tde_create_tarball( TARGET gnome2.tar.gz SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/gnome2 )
|
|
|
|
generate_tar( gnu.tar.gz gnu AUTHORS COPYING ChangeLog INSTALL NEWS README TODO )
|
|
|
|
tde_create_tarball( TARGET gnu.tar.gz SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/gnu )
|
|
|
|
generate_tar( wxwidgets.tar.gz wx macros )
|
|
|
|
tde_create_tarball( TARGET wxwidgets.tar.gz SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/wx )
|
|
|
|
generate_tar( incadmin.tar.gz incadmin config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs )
|
|
|
|
tde_create_tarball(
|
|
|
|
generate_tar( scons.tar.gz scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/kde.py )
|
|
|
|
TARGET incadmin.tar.gz
|
|
|
|
|
|
|
|
SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/incadmin
|
|
|
|
|
|
|
|
FILES ${_incadmin_content}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
tde_create_tarball( TARGET scons.tar.gz SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/scons )
|
|
|
|
|
|
|
|
|
|
|
|
install( FILES
|
|
|
|
install( FILES
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/admin.tar.gz
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/admin.tar.gz
|
|
|
|