copy install.txt and readme.txt

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2006-07-19 10:31:08 +00:00
parent 13e2550d3d
commit a4b57b1de1
2 changed files with 16 additions and 1 deletions

View 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`

View File

@@ -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