X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..673ae68a3c63f85da2f58f50c858efb9deeff79c:/distrib/msw/tardist diff --git a/distrib/msw/tardist b/distrib/msw/tardist index 887187b1da..036ad350f5 100644 --- a/distrib/msw/tardist +++ b/distrib/msw/tardist @@ -37,7 +37,6 @@ doinit() rm -f $WXDEST/wx*-${WXVER}*.tar.gz # Copy setup files - cp $WXSRC/include/wx/os2/SETUP0.H $WXSRC/include/wx/os2/setup.h cp $WXSRC/include/wx/msw/setup0.h $WXSRC/include/wx/msw/setup.h cp $WXSRC/include/wx/univ/setup0.h $WXSRC/include/wx/univ/setup.h @@ -45,19 +44,29 @@ doinit() cp $WXSRC/docs/readme.txt $WXDEST/readme-${WXVER}.txt cp $WXSRC/docs/changes.txt $WXDEST/changes-${WXVER}.txt + cp $WXSRC/docs/mgl/readme.txt $WXDEST/readme-mgl-${WXVER}.txt cp $WXSRC/docs/mgl/install.txt $WXDEST/install-mgl-${WXVER}.txt + cp $WXSRC/docs/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt - cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt +# cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt cp $WXSRC/docs/x11/install.txt $WXDEST/install-x11-${WXVER}.txt + cp $WXSRC/docs/motif/readme.txt $WXDEST/readme-motif-${WXVER}.txt cp $WXSRC/docs/motif/install.txt $WXDEST/install-motif-${WXVER}.txt + cp $WXSRC/docs/msw/readme.txt $WXDEST/readme-msw-${WXVER}.txt cp $WXSRC/docs/msw/install.txt $WXDEST/install-msw-${WXVER}.txt + cp $WXSRC/docs/gtk/readme.txt $WXDEST/readme-gtk-${WXVER}.txt cp $WXSRC/docs/gtk/install.txt $WXDEST/install-gtk-${WXVER}.txt + cp $WXSRC/docs/mac/readme.txt $WXDEST/readme-mac-${WXVER}.txt cp $WXSRC/docs/mac/install.txt $WXDEST/install-mac-${WXVER}.txt + + cp $WXSRC/docs/cocoa/readme.txt $WXDEST/readme-cocoa-${WXVER}.txt + cp $WXSRC/docs/cocoa/install.txt $WXDEST/install-cocoa-${WXVER}.txt + cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt # Make .mo files @@ -164,8 +173,9 @@ dospinwxmac() echo Tarring wxMac... ### wxMac cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/setup.h +cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/mac/setup.h cd $WXSRC -cat $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt +cat $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/cocoa.rsp $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt $TAR cf $WXDEST/wxMac-${WXVER}.tar -T /tmp/wxmac.txt @@ -223,9 +233,9 @@ echo Tarring wxAll... ### wxAll: all distributions in one giant archive cd $WXSRC -cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/cw.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/os2.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/mgl.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/utilmake.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/mmedia.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp $WXSRC/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt +cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/wince.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/cw.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/cocoa.rsp $WXSRC/distrib/msw/os2.rsp $WXSRC/distrib/msw/palmos.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/mgl.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/utilmake.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/mmedia.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp $WXSRC/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt expandlines /tmp/wxall_in.txt /tmp/wxall.txt -$TAR cf $WXDEST/wxAll-${WXVER}.tar -T /tmp/wxall.txt +$TAR cf $WXDEST/wxWidgets-${WXVER}.tar -T /tmp/wxall.txt echo Re-tarring wxAll in a subdirectory... cd $WXDEST @@ -241,6 +251,22 @@ else echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip" fi +# If we have the full set of eVC++ project files, +# get them +if [ -f $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip ]; then + unzip -o $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip +else + echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-eVC.zip" +fi + +# If we have the full set of DMC project files, +# get them +if [ -f $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip ]; then + unzip -o $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip +else + echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-DMC.zip" +fi + # If we have the full set of Mac CW project files, # get them if [ -f $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip ]; then @@ -249,7 +275,7 @@ else echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-CW-Mac.zip" fi -$TAR xf ../wxAll-${WXVER}.tar +$TAR xf ../wxWidgets-${WXVER}.tar # Translate all .dsp and .dsw files to DOS format unix2dos --unix2dos `cat $WXSRC/distrib/msw/vc.rsp` @@ -267,18 +293,46 @@ cp $WXSRC/docs/mac/readme.txt README-MAC.txt cp $WXSRC/docs/mac/install.txt INSTALL-MAC.txt cp $WXSRC/docs/mgl/readme.txt README-MGL.txt cp $WXSRC/docs/mgl/install.txt INSTALL-MGL.txt +cp $WXSRC/docs/palmos/readme.txt README-PALMOS.txt #cp $WXSRC/docs/os2/readme.txt README-OS2.txt cp $WXSRC/docs/os2/install.txt INSTALL-OS2.txt cd .. -rm -f wxAll-${WXVER}.tar -$TAR cf $WXDEST/wxAll-${WXVER}.tar wxWidgets-${WXVER}/* +rm -f wxWidgets-${WXVER}.tar +$TAR cf $WXDEST/wxWidgets-${WXVER}.tar wxWidgets-${WXVER}/* rm -f -r wxWidgets-${WXVER} -gzip $WXDEST/wxAll-${WXVER}.tar +gzip -c $WXDEST/wxWidgets-${WXVER}.tar > $WXDEST/wxWidgets-${WXVER}.tar.gz +bzip2 $WXDEST/wxWidgets-${WXVER}.tar +} + +domakedocs() +{ + mkdir -p $WXSRC/docs/html/wx + mkdir -p $WXSRC/docs/html/tex2rtf + mkdir -p $WXSRC/docs/html/fl + mkdir -p $WXSRC/docs/html/ogl + mkdir -p $WXSRC/docs/htb + + rm -f -r $WXSRC/docs/html/wx/*.htm* + rm -f -r $WXSRC/docs/htb/wx.htb + + echo Making HTML wxWidgets manual... + cd $WXSRC/docs/latex/wx + cp *.gif $WXSRC/docs/html/wx + tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html + + echo Making HTB wxWidgets manual... + cd $WXSRC/docs/html/wx + zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk + + echo Done making manuals. } dospinwxdocs() { + # First make the docs + domakedocs + echo Tarring wxDocs... ### Doc sources