X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc168f05b4399a846fd0a61aac0a520f0a6c42fd..95bd284e77e0d95c8ec6ad39ce3e6f9c44c9de65:/distrib/scripts/create_archives.sh diff --git a/distrib/scripts/create_archives.sh b/distrib/scripts/create_archives.sh index 64a8f852bc..15fa1b56ad 100755 --- a/distrib/scripts/create_archives.sh +++ b/distrib/scripts/create_archives.sh @@ -31,7 +31,7 @@ fi # Set this to the required version if [ "$VERSION" = "" ]; then - VERSION=2.7.0 + VERSION=2.9.0 fi getfilelist(){ @@ -39,16 +39,15 @@ getfilelist(){ outfile=$2 filelist="base.rsp" - contribfiles="stc.rsp contrib.rsp ogl.rsp" utilsfiles="tex2rtf.rsp utils.rsp utilmake.rsp" - commonfiles="generic.rsp generic_samples.rsp jpeg.rsp tiff.rsp xml.rsp deprecated.rsp makefile.rsp $utilsfiles $contribfiles" + commonfiles="generic.rsp generic_samples.rsp stc.rsp jpeg.rsp tiff.rsp xml.rsp makefile.rsp $utilsfiles" if [ ! $port = "base" ]; then filelist="$filelist $commonfiles" fi if [ $port = "msw" ] || [ $port = "all" ]; then - filelist="$filelist msw.rsp univ.rsp vc.rsp mmedia.rsp wince.rsp dmc.rsp" + filelist="$filelist msw.rsp univ.rsp vc.rsp wince.rsp dmc.rsp" fi if [ $port = "os2" ] || [ $port = "all" ]; then @@ -60,13 +59,13 @@ getfilelist(){ fi if [ $port = "mgl" ] || [ $port = "all" ]; then - filelist="$filelist mgl.rsp" + filelist="$filelist univ.rsp mgl.rsp" fi - + if [ $port = "dfb" ] || [ $port = "all" ]; then - filelist="$filelist univ.rsp dfb.rsp" + filelist="$filelist univ.rsp dfb.rsp" fi - + if [ $port = "gtk" ] || [ $port = "all" ]; then filelist="$filelist gtk.rsp" fi @@ -146,7 +145,7 @@ dospinport(){ copyfilelist $portfiles $APPDIR $TMPFILESDIR if [ $port = "msw" ]; then - FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)` + FILES=`find . -type f \( -path '*/.svn/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)` echo "$FILES" > /tmp/textfiles fi @@ -190,7 +189,7 @@ prepareforrelease() cp $APPDIR/docs/mgl/readme.txt $APPDIR/readme-mgl.txt cp $APPDIR/docs/mgl/install.txt $APPDIR/install-mgl.txt - + cp $APPDIR/docs/dfb/install.txt $APPDIR/install-dfb.txt cp $APPDIR/docs/x11/readme.txt $APPDIR/readme-x11.txt @@ -209,12 +208,10 @@ prepareforrelease() cp $APPDIR/docs/cocoa/install.txt $APPDIR/install-cocoa.txt # Now delete a few files that are unnecessary - rm -f BuildCVS.txt descrip.mms + rm -f BuildSVN.txt descrip.mms rm -f setup.h_vms rm -f docs/html/wxbook.htm docs/html/roadmap.htm - rm -f -r contrib/docs/latex/ogl rm -f src/mingegcs.bat -# rm -f *.spec rm -f src/gtk/descrip.mms src/motif/descrip.mms # Copy setup0.h files to setup.h @@ -249,19 +246,19 @@ usage() for i in "$@"; do case "$i" in - --wxmac) SPINMAC=1; SPINALL=0 ;; - --wxmsw) SPINMSW=1; SPINALL=0 ;; - --wxos2) SPINOS2=1; SPINALL=0 ;; - --wxall) SPINWXALL=1; SPINALL=0 ;; - --wxbase) SPINBASE=1; SPINALL=0 ;; - --getmakefiles) GETMAKEFILES=1; SPINALL=0 ;; - --docs) SPINDOCS=1; SPINALL=0 ;; - --all) SPINALL=1 ;; - --verbose) VERBOSE=1 ;; - *) - usage - exit - ;; + --wxmac) SPINMAC=1; SPINALL=0 ;; + --wxmsw) SPINMSW=1; SPINALL=0 ;; + --wxos2) SPINOS2=1; SPINALL=0 ;; + --wxall) SPINWXALL=1; SPINALL=0 ;; + --wxbase) SPINBASE=1; SPINALL=0 ;; + --getmakefiles) GETMAKEFILES=1; SPINALL=0 ;; + --docs) SPINDOCS=1; SPINALL=0 ;; + --all) SPINALL=1 ;; + --verbose) VERBOSE=1 ;; + *) + usage + exit + ;; esac done