Create the root dir install and readme files, and put them in the manifests. Also, use DOS line endings for MSW archives.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2006-07-16 22:46:30 +00:00
parent d72fd025b6
commit de6fbe7596
9 changed files with 46 additions and 9 deletions

View File

@ -132,15 +132,11 @@ dospinport(){
copyfilelist $portfiles $APPDIR $TMPFILESDIR
if [ $port = "msw" ] || [ $port = "all" ]; then
cp -f README-MSW.txt INSTALL-MSW.txt $TMPFILESDIR
fi
if [ $port = "os2" ] || [ $port = "all" ]; then
cp -f INSTALL-OS2.txt $TMPFILESDIR
fi
pushd /tmp/wx$port
# use DOS line endings for all files for MSW archives.
if [ $port = "msw" ]; then
unix2dos `cat $portfiles`
fi
echo "Creating wx$portname-$VERSION.zip..."
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .
echo "Creating wx$portname-$VERSION.tar.gz..."
@ -168,6 +164,24 @@ prepareforrelease()
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README.txt
cp $APPDIR/docs/mgl/readme.txt $APPDIR/readme-mgl.txt
cp $APPDIR/docs/mgl/install.txt $APPDIR/install-mgl.txt
cp $APPDIR/docs/x11/readme.txt $APPDIR/readme-x11.txt
cp $APPDIR/docs/x11/install.txt $APPDIR/install-x11.txt
cp $APPDIR/docs/motif/readme.txt $APPDIR/readme-motif.txt
cp $APPDIR/docs/motif/install.txt $APPDIR/install-motif.txt
cp $APPDIR/docs/gtk/readme.txt $APPDIR/readme-gtk.txt
cp $APPDIR/docs/gtk/install.txt $APPDIR/install-gtk.txt
cp $APPDIR/docs/mac/readme.txt $APPDIR/readme-mac.txt
cp $APPDIR/docs/mac/install.txt $APPDIR/install-mac.txt
cp $APPDIR/docs/cocoa/readme.txt $APPDIR/readme-cocoa.txt
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 setup.h_vms
@ -183,7 +197,7 @@ prepareforrelease()
cp $APPDIR/include/wx/msw/setup0.h $APPDIR/include/wx/msw/setup.h
cp $APPDIR/include/wx/univ/setup0.h $APPDIR/include/wx/univ/setup.h
# Make MSW project files have DOS line endings.
# Make MSW project files always have DOS line endings.
unix2dos `cat $MANIFESTDIR/vc.rsp`
popd

View File

@ -1,3 +1,6 @@
install-cocoa.txt
readme-cocoa.txt
include/wx/cocoa/*.h
src/cocoa/*.cpp
src/cocoa/*.mm

View File

@ -1,3 +1,6 @@
install-gtk.txt
readme-gtk.txt
docs/gtk/*.html
docs/gtk/*.txt
docs/gtk/COPYING.LIB

View File

@ -1,3 +1,6 @@
install-mac.txt
readme-mac.txt
lib/dummy
docs/licence.txt

View File

@ -1,3 +1,6 @@
install-mgl.txt
readme-mgl.txt
build/mgl/*
include/wx/mgl/*.h

View File

@ -1,3 +1,6 @@
install-motif.txt
readme-motif.txt
src/motif/files.lst
src/motif/*.cpp
src/motif/*.c

View File

@ -1,3 +1,6 @@
README-MSW.txt
INSTALL-MSW.txt
build/msw/config.*
build/msw/makefile.*

View File

@ -1,3 +1,5 @@
INSTALL-OS2.txt
lib/dummy
build/os2/*

View File

@ -1,3 +1,6 @@
install-x11.txt
readme-x11.txt
src/x11/files.lst
src/x11/*.cpp
src/x11/*.c