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 )
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
COMMAND
${TAR} zcf adahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} main.adb app.kdevelop ada-Makefile app.kdevelop.filelist )
set( _tarball_content main.adb app.kdevelop ada-Makefile app.kdevelop.filelist )
list( SORT _tarball_content )
tde_create_tarball(
TARGET adahello.tar.gz
FILES ${_tarball_content}
)
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/adahello.tar.gz adahello.png

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

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

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

@ -9,12 +9,17 @@
#
#################################################
add_custom_target( chellogba.tar.gz ALL
COMMAND ${TAR} zcf chellogba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
main.c font.raw.c master.pal.c src-Makefile.am
c-Makefile.am c-Makefile.cvs configure.in chellogba.png
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

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

@ -9,11 +9,25 @@
#
#################################################
add_custom_target( cmakelibc.tar.gz ALL
COMMAND ${TAR} --transform \"flags=r\;s/cmakelibc-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakelibc.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
test.c lib.h lib.c cmakelibc.png cmakelibc-CMakeLists.txt
CMakeLists.txt.src
set( _tarball_files
test.c lib.h lib.c cmakelibc.png CMakeLists.txt.src
)
set( _tarball_content ${_tarball_files} CMakeLists.txt )
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
COMMAND ${TAR} --transform \"flags=r\;s/cmakelibcpp-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
test.cpp lib.h lib.cpp cmakelibcpp.png
cmakelibcpp-CMakeLists.txt CMakeLists.txt.src
set( _tarball_files
test.cpp lib.h lib.cpp cmakelibcpp.png CMakeLists.txt.src
)
set( _tarball_content ${_tarball_files} CMakeLists.txt )
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
COMMAND ${TAR} --transform \"flags=r\;s/cmakeqt3app-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakeqt3app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png
filesave.xpm fileopen.xpm fileprint.xpm
cmakeqt3app-CMakeLists.txt CMakeLists.txt.src
set( _tarball_files
main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png
filesave.xpm fileopen.xpm fileprint.xpm
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
COMMAND ${TAR} --transform \"flags=r\;s/cmakesimple-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README
set( _tarball_files
main.cpp cmakesimple.png 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
COMMAND ${TAR} --transform \"flags=r\;s/cmakesimplec-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.c cmakesimplec.png cmakesimplec-CMakeLists.txt
set( _tarball_files
main.c cmakesimplec.png
)
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
COMMAND ${TAR} zcf cppcurseshello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
main.cpp src-Makefile.am cpp-Makefile.am cpp-Makefile.cvs
app-configure.in app.kdevelop
)
list( SORT _tarball_content )
tde_create_tarball(
TARGET cppcurseshello.tar.gz
FILES ${_tarball_content}
)
install( FILES

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

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

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

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

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

@ -9,12 +9,17 @@
#
#################################################
add_custom_target( kpartapp.tar.gz ALL
COMMAND ${TAR} zcf kpartapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
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
subdirs
)
list( SORT _tarball_content )
tde_create_tarball(
TARGET kpartapp.tar.gz
FILES ${_tarball_content}
)
install( FILES

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

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

@ -9,8 +9,7 @@
#
#################################################
add_custom_target( kscons_tdemdi.tar.gz ALL
COMMAND ${TAR} zcf kscons_tdemdi.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
app.kcfg app.kdevelop apptdemdi.cpp apptdemdi.h apptdemdiView.cpp
apptdemdiView.h INSTALL tdemdikonsole.cpp tdemdikonsole.h
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
app_shell.rc
)
list( SORT _tarball_content )
tde_create_tarball(
TARGET kscons_tdemdi.tar.gz
FILES ${_tarball_content}
)
install( FILES

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

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

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

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

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

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

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

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

@ -9,10 +9,15 @@
#
#################################################
add_custom_target( qmakesimple.tar.gz ALL
COMMAND ${TAR} zcf qmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
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

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

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

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

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

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

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

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

@ -9,10 +9,15 @@
#
#################################################
add_custom_target( superwaba.tar.gz ALL
COMMAND ${TAR} zcf superwaba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
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

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

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

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

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

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

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

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

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

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

@ -9,10 +9,15 @@
#
#################################################
add_custom_target( qtruby.tar.gz ALL
COMMAND ${TAR} zcf qtruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
set( _tarball_content
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

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

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

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

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

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

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

Loading…
Cancel
Save