+
+ echo Rearchiving wxMac tarballs to change wxMAC to wxMAC...
+ cd $WXDEST
+ mkdir wxMac.tmp
+ cd wxMac.tmp
+ rm -f -r *
+ tar xfz ../wxMac-$WXVER.tar.gz
+ mv wxMAC-$WXVER wxMac-$WXVER
+ rm -f ../wxMAC-$WXVER.tar.gz
+ rm -f ../wxMAC-$WXVER.tar.bz2
+ tar cf ../wxMac-$WXVER.tar *
+ gzip -c ../wxMac-$WXVER.tar > ../wxMac-$WXVER.tar.gz
+ bzip2 -f9 ../wxMac-$WXVER.tar
+ cd ..
+ rm -f -r wxMac.tmp
+
+ rm -f -r $WXDEST/wxmac
+}
+
+docopydocs()
+{
+ 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/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/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
+}
+
+dospindocs()
+{
+ 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 Archiving manuals...
+ # TODO
+
+ echo Done making manuals.