Use tde_create_tarball, which is ready for reproducible builds,

instead of calling 'tar' and requiring GNU extensions.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/13/head
Slávek Banko 4 years ago
parent fe44776673
commit c7d308a9ba
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -75,26 +75,3 @@ if( WITH_VCS_SUBVERSION )
set( SVN_LIBRARIES svn_client-1 svn_subr-1 svn_ra-1 ) set( SVN_LIBRARIES svn_client-1 svn_subr-1 svn_ra-1 )
endif( ) endif( )
##### check for gnu tar extensions #############
if( NOT TAR )
message( STATUS "Checking if tar supports GNU extensions" )
foreach( TAR_CMD tar gtar gnutar )
if( NOT TAR )
execute_process(
COMMAND ${TAR_CMD} --version
OUTPUT_VARIABLE TAR_VERSION
ERROR_VARIABLE TAR_VERSION
)
if( "${TAR_VERSION}" MATCHES "(GNU tar)" )
set( TAR "${TAR_CMD}" CACHE INTERNAL "" FORCE )
endif( )
endif( )
endforeach( TAR_CMD )
if( TAR )
message( STATUS "Checking if tar supports GNU extensions - ${TAR}" )
else( )
tde_message_fatal( "tar with GNU extensions is required but not found on your system" )
endif( )
endif( )

@ -9,9 +9,13 @@
# #
################################################# #################################################
add_custom_target( adahello.tar.gz ALL set( _tarball_content main.adb app.kdevelop ada-Makefile app.kdevelop.filelist )
COMMAND list( SORT _tarball_content )
${TAR} zcf adahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} main.adb app.kdevelop ada-Makefile app.kdevelop.filelist )
tde_create_tarball(
TARGET adahello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES
${CMAKE_CURRENT_BINARY_DIR}/adahello.tar.gz adahello.png ${CMAKE_CURRENT_BINARY_DIR}/adahello.tar.gz adahello.png

@ -9,9 +9,13 @@
# #
################################################# #################################################
add_custom_target( bashhello.tar.gz ALL set( _tarball_content app.sh app.kdevelop )
COMMAND list( SORT _tarball_content )
${TAR} zcf bashhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} app.sh app.kdevelop )
tde_create_tarball(
TARGET bashhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES
${CMAKE_CURRENT_BINARY_DIR}/bashhello.tar.gz bashhello.png ${CMAKE_CURRENT_BINARY_DIR}/bashhello.tar.gz bashhello.png

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( automakeempty.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf automakeempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
automakeempty-Makefile.am automakeempty-Makefile.cvs automakeempty-Makefile.am automakeempty-Makefile.cvs
configure.in automakeempty.png app.kdevelop configure.in automakeempty.png app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET automakeempty.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( chello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf chello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.c src-Makefile.am c-Makefile.am c-Makefile.cvs main.c src-Makefile.am c-Makefile.am c-Makefile.cvs
configure.in chello.png app.kdevelop configure.in chello.png app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET chello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( chellogba.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf chellogba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.c font.raw.c master.pal.c src-Makefile.am main.c font.raw.c master.pal.c src-Makefile.am
c-Makefile.am c-Makefile.cvs configure.in chellogba.png c-Makefile.am c-Makefile.cvs configure.in chellogba.png
app.kdevelop main.h gba.h font.bmp README.devel app.kdevelop main.h gba.h font.bmp README.devel
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET chellogba.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( clanlib.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf clanlib.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
src-Makefile.am app-Makefile.am main.cpp app.kdevelop src-Makefile.am app-Makefile.am main.cpp app.kdevelop
app-configure.in app-autogen.sh app-configure.in app-autogen.sh
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET clanlib.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,25 @@
# #
################################################# #################################################
add_custom_target( cmakelibc.tar.gz ALL set( _tarball_files
COMMAND ${TAR} --transform \"flags=r\;s/cmakelibc-CMakeLists.txt/CMakeLists.txt/\" test.c lib.h lib.c cmakelibc.png CMakeLists.txt.src
-zcf cmakelibc.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} )
test.c lib.h lib.c cmakelibc.png cmakelibc-CMakeLists.txt set( _tarball_content ${_tarball_files} CMakeLists.txt )
CMakeLists.txt.src list( SORT _tarball_content )
file(
COPY ${_tarball_files} cmakelibc-CMakeLists.txt
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)
file(
RENAME ${CMAKE_CURRENT_BINARY_DIR}/cmakelibc-CMakeLists.txt
${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt
)
tde_create_tarball(
TARGET cmakelibc.tar.gz
SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
FILES ${_tarball_content}
) )

@ -9,11 +9,25 @@
# #
################################################# #################################################
add_custom_target( cmakelibcpp.tar.gz ALL set( _tarball_files
COMMAND ${TAR} --transform \"flags=r\;s/cmakelibcpp-CMakeLists.txt/CMakeLists.txt/\" test.cpp lib.h lib.cpp cmakelibcpp.png CMakeLists.txt.src
-zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} )
test.cpp lib.h lib.cpp cmakelibcpp.png set( _tarball_content ${_tarball_files} CMakeLists.txt )
cmakelibcpp-CMakeLists.txt CMakeLists.txt.src list( SORT _tarball_content )
file(
COPY ${_tarball_files} cmakelibcpp-CMakeLists.txt
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)
file(
RENAME ${CMAKE_CURRENT_BINARY_DIR}/cmakelibcpp-CMakeLists.txt
${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt
)
tde_create_tarball(
TARGET cmakelibcpp.tar.gz
SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
FILES ${_tarball_content}
) )

@ -9,12 +9,27 @@
# #
################################################# #################################################
add_custom_target( cmakeqt3app.tar.gz ALL set( _tarball_files
COMMAND ${TAR} --transform \"flags=r\;s/cmakeqt3app-CMakeLists.txt/CMakeLists.txt/\" main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png
-zcf cmakeqt3app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} filesave.xpm fileopen.xpm fileprint.xpm
main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png CMakeLists.txt.src
filesave.xpm fileopen.xpm fileprint.xpm )
cmakeqt3app-CMakeLists.txt CMakeLists.txt.src set( _tarball_content ${_tarball_files} CMakeLists.txt )
list( SORT _tarball_content )
file(
COPY ${_tarball_files} cmakeqt3app-CMakeLists.txt
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)
file(
RENAME ${CMAKE_CURRENT_BINARY_DIR}/cmakeqt3app-CMakeLists.txt
${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt
)
tde_create_tarball(
TARGET cmakeqt3app.tar.gz
SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
FILES ${_tarball_content}
) )

@ -9,10 +9,25 @@
# #
################################################# #################################################
add_custom_target( cmakesimple.tar.gz ALL set( _tarball_files
COMMAND ${TAR} --transform \"flags=r\;s/cmakesimple-CMakeLists.txt/CMakeLists.txt/\" main.cpp cmakesimple.png README
-zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} )
main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README set( _tarball_content ${_tarball_files} CMakeLists.txt )
list( SORT _tarball_content )
file(
COPY ${_tarball_files} cmakesimple-CMakeLists.txt
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)
file(
RENAME ${CMAKE_CURRENT_BINARY_DIR}/cmakesimple-CMakeLists.txt
${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt
)
tde_create_tarball(
TARGET cmakesimple.tar.gz
SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
FILES ${_tarball_content}
) )

@ -9,10 +9,25 @@
# #
################################################# #################################################
add_custom_target( cmakesimplec.tar.gz ALL set( _tarball_files
COMMAND ${TAR} --transform \"flags=r\;s/cmakesimplec-CMakeLists.txt/CMakeLists.txt/\" main.c cmakesimplec.png
-zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} )
main.c cmakesimplec.png cmakesimplec-CMakeLists.txt set( _tarball_content ${_tarball_files} CMakeLists.txt )
list( SORT _tarball_content )
file(
COPY ${_tarball_files} cmakesimplec-CMakeLists.txt
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)
file(
RENAME ${CMAKE_CURRENT_BINARY_DIR}/cmakesimplec-CMakeLists.txt
${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt
)
tde_create_tarball(
TARGET cmakesimplec.tar.gz
SOURCEDIR ${CMAKE_CURRENT_BINARY_DIR}
FILES ${_tarball_content}
) )

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( cppcurseshello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf cppcurseshello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs
app-configure.in app.kdevelop app-configure.in app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET cppcurseshello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( cpphello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf cpphello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs
configure.in cpphello.png app.kdevelop configure.in cpphello.png app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET cpphello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( cppsdlhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf cppsdlhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs
configure.in cppsdlhello.png app.kdevelop acinclude.m4 configure.in cppsdlhello.png app.kdevelop acinclude.m4
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET cppsdlhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,14 +9,19 @@
# #
################################################# #################################################
add_custom_target( gtk2mmapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf gtk2mmapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
acconfig.h autogen.sh gtk2mm.glade main_window.cc acconfig.h autogen.sh gtk2mm.glade main_window.cc
main_window_glade.hh Makefile.am app-Makefile.am main_window_glade.hh Makefile.am app-Makefile.am
configure.in gtk2mm.gladep main_window.hh app.kdevelop configure.in gtk2mm.gladep main_window.hh app.kdevelop
gtk2mm.cc main_window_glade.cc src-Makefile.am config.h gtk2mm.cc main_window_glade.cc src-Makefile.am config.h
gtk2mmapp.png gtk2mmapp.png
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET gtk2mmapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( kapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.cpp app.h pref.cpp pref.h appview.cpp appview.h app.cpp app.h pref.cpp pref.h appview.cpp appview.h
appiface.h app_client.cpp main.cpp appui.rc src-Makefile.am appiface.h app_client.cpp main.cpp appui.rc src-Makefile.am
kapp.png app.kdevelop subdirs README kapp.png app.kdevelop subdirs README
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( kmod.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kmod.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
src-Makefile kmod.kdevelop kmod-driver.c src-Makefile kmod.kdevelop kmod-driver.c
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kmod.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( kpartapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kpartapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
src-Makefile.am app.cpp app.h app_part.cpp app_part.h src-Makefile.am app.cpp app.h app_part.cpp app_part.h
main.cpp app_part.rc app_shell.rc kpartapp.png app.kdevelop main.cpp app_part.rc app_shell.rc kpartapp.png app.kdevelop
subdirs subdirs
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kpartapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( kpartplugin.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kpartplugin.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
src-Makefile.am plugin_app.cpp plugin_app.h plugin_app.rc src-Makefile.am plugin_app.cpp plugin_app.h plugin_app.rc
hi16-action-plugin.png hi22-action-plugin.png hi16-action-plugin.png hi22-action-plugin.png
kpartplugin.png plugin.kdevelop subdirs kpartplugin.png plugin.kdevelop subdirs
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kpartplugin.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,14 +9,19 @@
# #
################################################# #################################################
add_custom_target( kscons_kxt.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kscons_kxt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.cpp app.h main.cpp appui.rc app.kdevelop appview.h app.cpp app.h main.cpp appui.rc app.kdevelop appview.h
appview.cpp appview_base.ui prefs-base.ui prefs.cpp appview.cpp appview_base.ui prefs-base.ui prefs.cpp
prefs.h app.kcfg settings.kcfgc messages.sh SConstruct prefs.h app.kcfg settings.kcfgc messages.sh SConstruct
SConscript-doc SConscript-src tips VERSION QUICKSTART SConscript-doc SConscript-src tips VERSION QUICKSTART
INSTALL README INSTALL README
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kscons_kxt.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,8 +9,7 @@
# #
################################################# #################################################
add_custom_target( kscons_tdemdi.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kscons_tdemdi.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.kcfg app.kdevelop apptdemdi.cpp apptdemdi.h apptdemdiView.cpp app.kcfg app.kdevelop apptdemdi.cpp apptdemdi.h apptdemdiView.cpp
apptdemdiView.h INSTALL tdemdikonsole.cpp tdemdikonsole.h apptdemdiView.h INSTALL tdemdikonsole.cpp tdemdikonsole.h
main.cpp messages.sh prefs.ui QUICKSTART README main.cpp messages.sh prefs.ui QUICKSTART README
@ -18,6 +17,12 @@ add_custom_target( kscons_tdemdi.tar.gz ALL
tips VERSION app_part.cpp app_part.h app_part.rc tips VERSION app_part.cpp app_part.h app_part.rc
app_shell.rc app_shell.rc
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kscons_tdemdi.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( makefileempty.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf makefileempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
makefileempty-Makefile makefileempty.png app.kdevelop makefileempty-Makefile makefileempty.png app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET makefileempty.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( opieapplet.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf opieapplet.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp
simpleimpl.h simpleimpl.h
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET opieapplet.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( opieinput.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf opieinput.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp
simpleimpl.h simpleimpl.h
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET opieinput.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( opiemenu.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf opiemenu.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp Makefile.am Example.png app.kdevelop app.pro simpleimpl.cpp
simpleimpl.h simpleimpl.h
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET opiemenu.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( opienet.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf opienet.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Makefile.am Example.png app.kdevelop app.pro Makefile.am Example.png app.kdevelop app.pro
simpleiface.cpp simpleiface.h simplemodule.h simpleiface.cpp simpleiface.h simplemodule.h
simplemodule.cpp simplemodule.cpp
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET opienet.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,13 +9,18 @@
# #
################################################# #################################################
add_custom_target( opietoday.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf opietoday.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Makefile.am Example.png app.kdevelop Makefile.am Example.png app.kdevelop
app.pro exampleplugin.cpp examplepluginimpl.cpp app.pro exampleplugin.cpp examplepluginimpl.cpp
examplepluginwidget.cpp exampleplugin.h examplepluginimpl.h examplepluginwidget.cpp exampleplugin.h examplepluginimpl.h
examplepluginwidget.h examplepluginwidget.h
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET opietoday.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( qmakeapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qmakeapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp qmakeapp.cpp qmakeapp.h qmakeapp.png main.cpp qmakeapp.cpp qmakeapp.h qmakeapp.png
qmakeapp.kdevelop qmakeapp.pro src.pro filesave.xpm qmakeapp.kdevelop qmakeapp.pro src.pro filesave.xpm
fileopen.xpm fileprint.xpm fileopen.xpm fileprint.xpm
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qmakeapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( qmakeempty.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qmakeempty.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
qmakeempty.kdevelop qmakeempty.pro qmakeempty.png qmakeempty.kdevelop qmakeempty.pro qmakeempty.png
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qmakeempty.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( qmakesimple.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp qmakesimple.png app.kdevelop app.pro src.pro main.cpp qmakesimple.png app.kdevelop app.pro src.pro
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qmakesimple.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( qt4hello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qt4hello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp qt4hello.png qt4hello.kdevelop qt4hello.pro main.cpp qt4hello.png qt4hello.kdevelop qt4hello.pro
src.pro ReadMe src.pro ReadMe
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qt4hello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,13 +9,18 @@
# #
################################################# #################################################
add_custom_target( qt4makeapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qt4makeapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png
qt4makeapp.kdevelop qt4makeapp.pro src.pro application.qrc qt4makeapp.kdevelop qt4makeapp.pro src.pro application.qrc
ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm
editpaste.xpm editcut.xpm editpaste.xpm editcut.xpm
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qt4makeapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( win32gui.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf win32gui.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.cpp src-Makefile.am win32gui-Makefile.am app.cpp src-Makefile.am win32gui-Makefile.am
win32gui-Makefile.cvs win32gui-configure.in win32gui.png win32gui-Makefile.cvs win32gui-configure.in win32gui.png
app.kdevelop app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET win32gui.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( win32hello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf win32hello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.cpp src-Makefile.am win32-Makefile.am app.cpp src-Makefile.am win32-Makefile.am
win32-Makefile.cvs win32-configure.in win32hello.png win32-Makefile.cvs win32-configure.in win32hello.png
app.kdevelop app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET win32hello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( fortranhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf fortranhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.f src-Makefile.am fortran-Makefile.am main.f src-Makefile.am fortran-Makefile.am
fortran-Makefile.cvs configure.in fortranhello.png fortran-Makefile.cvs configure.in fortranhello.png
app.kdevelop app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET fortranhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( javahello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf javahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Main.java build.xml javahello.filelist javahello.kdevelop Main.java build.xml javahello.filelist javahello.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET javahello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,11 +9,16 @@
# #
################################################# #################################################
add_custom_target( kappjava.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf kappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.java pref.java appview.java app_client.java appui.rc app.java pref.java appview.java app_client.java appui.rc
src-Makefile.am kappjava.png app.kdevelop subdirs src-Makefile.am kappjava.png app.kdevelop subdirs
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET kappjava.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( superwaba.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf superwaba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
superwaba.png sw.java src-Makefile sw.kdevelop sw.filelist superwaba.png sw.java src-Makefile sw.kdevelop sw.filelist
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET superwaba.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( fpcgtk.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf fpcgtk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.pp app.kdevelop main.pp app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET fpcgtk.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( fpchello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf fpchello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.pp app.kdevelop main.pp app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET fpchello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( fpcsharedlib.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf fpcsharedlib.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.pp app.kdevelop main.pp app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET fpcsharedlib.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( pascalhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf pascalhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.pp app.kdevelop main.pp app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET pascalhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( perlhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf perlhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.pl app.kdevelop app.pl app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET perlhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( phphello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf phphello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.php app.kdevelop app.php app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET phphello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,14 +9,19 @@
# #
################################################# #################################################
add_custom_target( pyqt.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf pyqt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.py app.kdevelop fileopen.pyxpm fileprint.pyxpm app.py app.kdevelop fileopen.pyxpm fileprint.pyxpm
filesave.pyxpm app-Makefile.am app-autogen.sh filesave.pyxpm app-Makefile.am app-autogen.sh
app-configure.ac documentdetails.ui missing install-sh app-configure.ac documentdetails.ui missing install-sh
mkinstalldirs pyqt-am-preproc.py templates-ui-dialog mkinstalldirs pyqt-am-preproc.py templates-ui-dialog
templates-ui-mainwin pyqt.png templates-ui-mainwin pyqt.png
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET pyqt.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( pythonhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf pythonhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.py app.kdevelop pythonhello.png app.py app.kdevelop pythonhello.png
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET pythonhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( pytk.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf pytk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.py app.kdevelop pytk.png app.py app.kdevelop pytk.png
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET pytk.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( qtruby.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qtruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.rb app.kdevelop app-Makefile app.filelist README app.rb app.kdevelop app-Makefile app.filelist README
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qtruby.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,13 +9,18 @@
# #
################################################# #################################################
add_custom_target( qtruby4app.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qtruby4app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.rb qtruby4app.rb qtruby4app.png qtruby4app.kdevelop main.rb qtruby4app.rb qtruby4app.png qtruby4app.kdevelop
application.qrc ReadMe filesave.xpm fileopen.xpm application.qrc ReadMe filesave.xpm fileopen.xpm
filenew.xpm editcopy.xpm editpaste.xpm editcut.xpm filenew.xpm editcopy.xpm editpaste.xpm editcut.xpm
app-Makefile app.filelist app-Makefile app.filelist
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qtruby4app.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,12 +9,17 @@
# #
################################################# #################################################
add_custom_target( qtrubyapp.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf qtrubyapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.rb qtrubyapp.rb qtrubyapp.png qtrubyapp.kdevelop main.rb qtrubyapp.rb qtrubyapp.png qtrubyapp.kdevelop
filesave.xpm fileopen.xpm fileprint.xpm app.filelist filesave.xpm fileopen.xpm fileprint.xpm app.filelist
app-Makefile README app-Makefile README
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET qtrubyapp.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( rails.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf rails.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.kdevelop app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET rails.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( rubyhello.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf rubyhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.rb app.kdevelop app.rb app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET rubyhello.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -9,10 +9,15 @@
# #
################################################# #################################################
add_custom_target( sqlsimple.tar.gz ALL set( _tarball_content
COMMAND ${TAR} zcf sqlsimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.sql app.kdevelop app.sql app.kdevelop
) )
list( SORT _tarball_content )
tde_create_tarball(
TARGET sqlsimple.tar.gz
FILES ${_tarball_content}
)
install( FILES install( FILES

@ -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

Loading…
Cancel
Save