]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-docs
fixed wxVsnprintf() to write as much as it can if the output buffer is too short
[wxWidgets.git] / wxPython / distrib / all / build-docs
1 #!/bin/bash
2 #----------------------------------------------------------------------
3
4 set -o errexit
5
6 if [ $skipdocs != yes ]; then
7 # Regenerate the reST docs
8 echo "Regenerating the reST docs..."
9 cd docs
10 for x in *.txt; do
11 docutils-html $x `basename $x .txt`.html
12 done
13 cd -
14 for doc in CHANGES BUILD INSTALL MigrationGuide default; do
15 cp docs/$doc.* $STAGING_DIR
16 done
17
18 # build the doc and demo tarballs
19 distrib/makedemo
20 distrib/makedocs
21 mv dist/wxPython-docs-$VERSION.tar.bz2 $STAGING_DIR
22 mv dist/wxPython-demo-$VERSION.tar.bz2 $STAGING_DIR
23
24
25 # build the new docs too
26 if [ $skipnewdocs != yes ]; then
27 docs/bin/everything
28 mv dist/wxPython-newdocs-$VERSION.tar.bz2 $STAGING_DIR
29 fi
30 fi
31
32 #----------------------------------------------------------------------