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