# **** Build the main docs using tex2rtf
echo "****" main "****"
cp $WXDIR/docs/latex/wx/*.gif $DEST/wx
cp $WXDIR/docs/latex/wx/*.css $DEST/wx
# **** Build the main docs using tex2rtf
echo "****" main "****"
cp $WXDIR/docs/latex/wx/*.gif $DEST/wx
cp $WXDIR/docs/latex/wx/*.css $DEST/wx
tex2rtf $WXDIR/docs/latex/wx/manual.tex $DEST/wx/wx.html -twice -html -macros $INI
cp $DEST/wx/wx_contents.html $DEST/wx/index.html
cp $DEST/wx/* $WXDIR/docs/html/wx
tex2rtf $WXDIR/docs/latex/wx/manual.tex $DEST/wx/wx.html -twice -html -macros $INI
cp $DEST/wx/wx_contents.html $DEST/wx/index.html
cp $DEST/wx/* $WXDIR/docs/html/wx
-rm -f ../dist/wxPython-docs-$VERSION.tar.gz
-tar cvf ../dist/wxPython-docs-$VERSION.tar $DEST
-gzip -9 ../dist/wxPython-docs-$VERSION.tar
+rm -f ../dist/wxPython-docs-$VERSION.tar.bz2
+tar cvf ../dist/wxPython-docs-$VERSION.tar wxPython-$VERSION
+bzip2 -9 ../dist/wxPython-docs-$VERSION.tar