]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makedocs
3 #----------------------------------------------------------------------
6 echo "Please specify a version number on the command line."
10 if [ ! -d wxPython
]; then # TODO: make this test more robust
11 echo "Please run this script from the root wxPython directory."
16 # **** Make a directory to build up a distribution tree
20 mkdir -p _build_docs
/$DEST
27 # **** Build the docs using tex2rtf
28 cp $WXDIR/docs
/latex
/wx
/*.gif
$DEST/wx
29 $WXDIR/utils
/tex
2rtf
/src
/tex2rtf
$WXDIR/docs
/latex
/wx
/manual.tex
$DEST/wx
/wx.htm
-twice -html
30 cp $DEST/wx
/wx.htm
$DEST/wx
/index.htm
32 cp $WXDIR/contrib
/docs
/latex
/ogl
/*.gif
$DEST/ogl
33 cp $WXDIR/contrib
/docs
/latex
/ogl
/*.bmp
$DEST/ogl
34 $WXDIR/utils
/tex
2rtf
/src
/tex2rtf
$WXDIR/contrib
/docs
/latex
/ogl
/ogl.tex
$DEST/ogl
/ogl.htm
-twice -html
35 cp $DEST/ogl
/ogl.htm
$DEST/ogl
/index.htm
38 # **** zip the docs into "books"
51 cp ..
/distrib
/viewdocs.py
$DEST
52 cp ..
/distrib
/README.viewdocs.txt
$DEST/README.txt
54 rm -f ..
/dist
/wxPythonDocs
-$1.
tar.gz
55 tar cvf ..
/dist
/wxPythonDocs
-$1.
tar $DEST
56 gzip -9 ..
/dist
/wxPythonDocs
-$1.
tar