# Make a distribution of an application on MSW.
# Example:
-# ../distrib/msw/makesetup.sh --wxmsw --verbose 2>&1 | cat > log
+# ../distrib/msw/makesetup.sh --wxmsw --verbose &> | cat > log
# If your zip accepts Cygwin-style paths, then
# use cygpath, else substitute echo
mkdir $DESTDIR/wxWindows-$VERSION
cd $DESTDIR/wxWindows-$VERSION
unzip $ZIPFLAGS ../wxOS2-$VERSION.zip
- # No longer do this, configure should be OK (maybe)
+ # No longer do this, configure should be OK
# echo Overwriting with OS2-specific versions of configure files...
# unzip $ZIPFLAGS -o $APPDIR/distrib/os2/os2-specific.zip
rm -f src/gtk/descrip.mms src/motif/descrip.mms docs/pdf/*.pdf
rm -f src/tiff/*.mcp src/jpeg/*.mcp src/png/*.mcp src/zlib/*.mcp
- rm -f -r docs/html/dialoged docs/html/tex2rtf
+ rm -f -r docs/html/tex2rtf
- echo Making OS/2 files lower case...
-
- $SCRIPTDIR/namedown include/wx/os2/*.H
- $SCRIPTDIR/namedown src/os2/*.CPP src/os2/*.I
+ # echo Making OS/2 files lower case...
+ # no longer necessary
+ # $SCRIPTDIR/namedown include/wx/os2/*.H
+ # $SCRIPTDIR/namedown src/os2/*.CPP src/os2/*.I
echo Copying readme files...
cp $APPDIR/docs/os2/install.txt INSTALL-OS2.txt
cd $DESTDIR/wxWindows-$VERSION
unzip $ZIPFLAGS ../wxMac-$VERSION.zip
rm -f src/gtk/descrip.mms src/motif/descrip.mms docs/pdf/*.pdf
- rm -f -r docs/html/dialoged docs/html/tex2rtf docs/htmlhelp
+ rm -f -r docs/html/tex2rtf docs/htmlhelp
echo Copying readme files...
cp $APPDIR/docs/mac/readme.txt README-MAC.txt
rm -f docs/html/wxbook.htm docs/html/roadmap.htm
rm -f -r contrib/docs/latex/ogl
rm -f src/mingegcs.bat
- rm -f distrib
+ rm -f -r distrib
rm -f *.spec
rm -f -r contrib/utils/wxrcedit
if [ ! -d bin ]; then
mkdir bin
fi
- #cp $APPDIR/bin/dialoged.exe bin
- #cp $APPDIR/bin/dialoged.hlp bin
- #cp $APPDIR/bin/dialoged.chm bin
cp $APPDIR/bin/tex2rtf.exe bin
cp $APPDIR/bin/tex2rtf.chm bin
cp $APPDIR/bin/widgets.exe bin
cp $APPDIR/bin/life.exe bin
cp $APPDIR/demos/life/breeder.lif bin
- #cp $APPDIR/docs/htmlhelp/dialoged.chm bin
cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
if [ ! -d docs/pdf ]; then
cp $APPDIR/docs/motif/install.txt $DESTDIR/install-motif-$VERSION.txt
cp $APPDIR/docs/gtk/install.txt $DESTDIR/install-gtk-$VERSION.txt
cp $APPDIR/docs/x11/install.txt $DESTDIR/install-x11-$VERSION.txt
+ cp $APPDIR/docs/mgl/readme.txt $DESTDIR/readme-mgl-$VERSION.txt
+ cp $APPDIR/docs/mgl/install.txt $DESTDIR/install-mgl-$VERSION.txt
+
cp $APPDIR/docs/readme.txt $DESTDIR/readme-$VERSION.txt
cp $APPDIR/docs/motif/readme.txt $DESTDIR/readme-motif-$VERSION.txt
cp $APPDIR/docs/gtk/readme.txt $DESTDIR/readme-gtk-$VERSION.txt