]>
Commit | Line | Data |
---|---|---|
e4bb5998 RD |
1 | #!/bin/bash |
2 | #---------------------------------------------------------------------- | |
3 | ||
4 | set -o errexit | |
5 | ||
e4bb5998 RD |
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 | |
bf158fe6 RD |
21 | mv dist/wxPython-docs-$VERSION.tar.bz2 $STAGING_DIR |
22 | mv dist/wxPython-demo-$VERSION.tar.bz2 $STAGING_DIR | |
e4bb5998 RD |
23 | |
24 | ||
25 | # build the new docs too | |
26 | if [ $skipnewdocs != yes ]; then | |
27 | docs/bin/everything | |
bf158fe6 | 28 | mv dist/wxPython-newdocs-$VERSION.tar.bz2 $STAGING_DIR |
e4bb5998 RD |
29 | fi |
30 | fi | |
31 | ||
32 | #---------------------------------------------------------------------- |