]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-docs
unused var warning in Mac build
[wxWidgets.git] / wxPython / distrib / all / build-docs
1 #!/bin/bash
2 #----------------------------------------------------------------------
3
4 set -o errexit
5
6 # read the config variables from the file given on the command line
7 . $1
8
9
10 if [ $skipdocs != yes ]; then
11 # Regenerate the reST docs
12 echo "Regenerating the reST docs..."
13 cd docs
14 for x in *.txt; do
15 docutils-html $x `basename $x .txt`.html
16 done
17 cd -
18 for doc in CHANGES BUILD INSTALL MigrationGuide default; do
19 cp docs/$doc.* $STAGING_DIR
20 done
21
22 # build the doc and demo tarballs
23 distrib/makedemo
24 distrib/makedocs
25 mv dist/wxPython-docs-$VERSION.tar.gz $STAGING_DIR
26 mv dist/wxPython-demo-$VERSION.tar.gz $STAGING_DIR
27
28
29 # build the new docs too
30 if [ $skipnewdocs != yes ]; then
31 docs/bin/everything
32 mv dist/wxPython-newdocs-$VERSION.tar.gz $STAGING_DIR
33 fi
34 fi
35
36 #----------------------------------------------------------------------