]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/pre-flight.sh
added wxDFB to distribution scripts
[wxWidgets.git] / distrib / scripts / pre-flight.sh
index 95f97e34ec895cebaf20869f858b891f6ff15ef0..66dc24d192e95214c0cfc82fff37d2f67109f96d 100755 (executable)
@@ -36,10 +36,14 @@ if [ ! -d $WX_SRC_DIR ]; then
   cvs -d:pserver:anoncvs:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets login
   echo "Grabbing wx CVS with tag $BUILD_TAG"
   cvs -d:pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout -r $BUILD_TAG wxWidgets
+  cd $WX_SRC_DIR
 else
     cd $WX_SRC_DIR
     cvs update -d -P
 fi
+#copy setup0.h setup.h for msw
+rm include/wx/msw/setup.h
+cp include/wx/msw/setup0.h include/wx/msw/setup.h
 
 # this is where we will store the wxAll tarball we create
 if [ ! -d $START_DIR/$DISTDIR ]; then
@@ -126,6 +130,8 @@ else
    for g in `find ${DOCDIR} -name readme.txt` ; do
      cp $g $START_DIR/$DIST_DIR/readme-`echo $g | sed -e "s|${DOCDIR}||g" | sed -e "s|msw/wince|wince|g" | sed -e "s|/readme.txt||g"`-${BUILD_VERSION}.txt
    done
+   # Rename double readme
+   mv $START_DIR/$DIST_DIR/readme-readme.txt-${BUILD_VERSION}.txt $START_DIR/$DIST_DIR/readme-${BUILD_VERSION}.txt
    ## copy files ...
    mkdir ${FTPDIR}/
    cp  $START_DIR/$DIST_DIR/* ${FTPDIR}/