]>
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." 
  18 # **** Make a directory to build up a distribution tree 
  22 mkdir -p _build_docs
/$DEST 
  28 # **** Build the main docs using tex2rtf 
  29 echo "****" main 
"****" 
  30 cp $WXDIR/docs
/latex
/wx
/*.gif 
$DEST/wx
 
  31 $WXDIR/utils
/tex
2rtf
/src
/tex2rtf 
$WXDIR/docs
/latex
/wx
/manual.tex 
$DEST/wx
/wx.htm 
-twice -html -macros $WXDIR/docs
/latex
/wx
/tex2rtf.ini
 
  32 cp $DEST/wx
/wx.htm 
$DEST/wx
/index.htm
 
  34 # **** and the contribs 
  35 for c 
in $CONTRIBS; do 
  38     cp $WXDIR/contrib
/docs
/latex
/$c/*.gif 
$DEST/$c 
  39     cp $WXDIR/contrib
/docs
/latex
/$c/*.bmp 
$DEST/$c 
  40     $WXDIR/utils
/tex
2rtf
/src
/tex2rtf 
$WXDIR/contrib
/docs
/latex
/$c/$c.tex 
$DEST/$c/$c.htm 
-twice -html -macros $WXDIR/docs
/latex
/wx
/tex2rtf.ini
 
  41     cp $DEST/$c/$c.htm 
$DEST/$c/index.htm 
|| cp $DEST/$c/${c}_contents.html 
$DEST/$c/index.htm
 
  45 # **** zip the docs into "books" 
  52 for c 
in $CONTRIBS; do 
  60 cp ..
/distrib
/viewdocs.py 
$DEST 
  61 cp ..
/distrib
/README.viewdocs.txt 
$DEST/README.txt
 
  63 rm -f ..
/dist
/wxPythonDocs
-$1.
tar.gz
 
  64 tar cvf ..
/dist
/wxPythonDocs
-$1.
tar $DEST 
  65 gzip -9 ..
/dist
/wxPythonDocs
-$1.
tar