]> git.saurik.com Git - wxWidgets.git/commitdiff
copy install.txt and readme.txt
authorChris Elliott <biol75@york.ac.uk>
Wed, 19 Jul 2006 10:31:08 +0000 (10:31 +0000)
committerChris Elliott <biol75@york.ac.uk>
Wed, 19 Jul 2006 10:31:08 +0000 (10:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/scripts/build-environ.cfg
distrib/scripts/pre-flight.sh

index 7fcfa59fee5cccc2bfe069e88cb031879ae325bc..080589ba2c5db3c87428c2aabd1c4b58c013c28b 100644 (file)
@@ -12,6 +12,7 @@ DIST_DIR=../deliver
 
 # directory to store the wx tree we pull from CVS
 WX_TEMP_DIR=/tmp/wx-temp
+DOCDIR=${WX_TEMP_DIR}/wxWidgets/docs/
 
 CURDATE=`date -I`
 
index 081dff88a157bf6bc255a1772c297fa2adba8405..b8908f78055e29f88545b68d4928d8f2c544af99 100755 (executable)
@@ -100,8 +100,22 @@ if [ "$KIND" = "daily" ]; then
    done
 else
    ## not a daily build
+   ##get install.txt files etc
+   ##.../docs/plat/install.txt goes to install-plat-2.7.0.txt
+   ## wince has a file down one dir
+   cp ${DOCDIR}/changes.txt $START_DIR/$DIST_DIR/changes-${BUILD_VERSION}.txt
+
+   for f in `find ${DOCDIR} -name install.txt` ; do
+     cp $f $START_DIR/$DIST_DIR/install-`echo $f | sed -e "s|${DOCDIR}||g" | sed -e "s|/install.txt||g"`-${BUILD_VERSION}.txt
+   done
+
+   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
+   ## copy files ...
    mkdir ${FTPDIR}/
-   cp  $START_DIR/$DIST_DIR/wx* ${FTPDIR}/
+   cp  $START_DIR/$DIST_DIR/* ${FTPDIR}/
+
 fi
 
 md5sum ${FTPDIR}/wx* > ${FTPDIR}/MD5SUM