X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e019c6429d2ad08e4738209e88d22d5925c8f6ba..aa0f7b67fd3a7cf06e5c49a64e769ed17fd3023d:/distrib/scripts/create_archives.sh diff --git a/distrib/scripts/create_archives.sh b/distrib/scripts/create_archives.sh index e04a25c053..3eade8a52f 100755 --- a/distrib/scripts/create_archives.sh +++ b/distrib/scripts/create_archives.sh @@ -20,7 +20,7 @@ VERBOSE=0 ZIPFLAGS= PROGNAME=$0 -##SCRIPTDIR=$WXWIN/distrib/scripts + . $SCRIPTDIR/utils.inc MANIFESTDIR=$WXWIN/distrib/scripts/manifests @@ -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 jpeg.rsp tiff.rsp xml.rsp deprecated.rsp makefile.rsp $utilsfiles $contribfiles" + commonfiles="generic.rsp generic_samples.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 @@ -63,6 +62,10 @@ getfilelist(){ filelist="$filelist mgl.rsp" fi + if [ $port = "dfb" ] || [ $port = "all" ]; then + filelist="$filelist univ.rsp dfb.rsp" + fi + if [ $port = "gtk" ] || [ $port = "all" ]; then filelist="$filelist gtk.rsp" fi @@ -124,7 +127,7 @@ dospinport(){ mac) portname="Mac";; *) - # for all the others (DFB, GTK, MGL, MSW, X11) just use the + # for all the others (DFB, GTK, MGL, DFB, MSW, X11) just use the # upper-case version as they are abbreviations portname=`echo $port | tr '[a-z]' '[A-Z]'`;; esac @@ -156,11 +159,11 @@ dospinport(){ popd fi echo "Creating wx$portname-$VERSION.zip..." - zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip . + zip $ZIPFLAGS -r -9 $DIST_DIR/wx$portname-$VERSION.zip . echo "Creating wx$portname-$VERSION.tar.gz..." - tar czf $APPDIR/deliver/wx$portname-$VERSION.tar.gz wx$portname-$VERSION + tar czf $DIST_DIR/wx$portname-$VERSION.tar.gz wx$portname-$VERSION echo "Creating wx$portname-$VERSION.tar.bz2..." - tar ch wx$portname-$VERSION | bzip2 -f9 > $APPDIR/deliver/wx$portname-$VERSION.tar.bz2 + tar ch wx$portname-$VERSION | bzip2 -f9 > $DIST_DIR//wx$portname-$VERSION.tar.bz2 popd rm -rf /tmp/wx$port rm ${portfiles} @@ -187,6 +190,8 @@ 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 cp $APPDIR/docs/x11/install.txt $APPDIR/install-x11.txt @@ -206,7 +211,6 @@ prepareforrelease() rm -f BuildCVS.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 @@ -285,6 +289,7 @@ fi if [ "$SPINALL" = "1" ]; then dospinport "mgl" + dospinport "dfb" dospinport "gtk" dospinport "x11" dospinport "motif"