]> git.saurik.com Git - wxWidgets.git/blame - build/tools/make-html-docs
Fix incorrect handling of ItemsAdded() in wxDataViewCtrl.
[wxWidgets.git] / build / tools / make-html-docs
CommitLineData
273a28a1
VZ
1#!/bin/sh
2#
3# This script creates archives of HTML documentation in tar.bz2 and zip
4# formats. It relies on docs/doxygen/regen.sh to really generate the docs.
5#
6# The script should be ran from the root of wxWidgets checkout and creates the
7# output files in its parent directory.
8
9version=$1
10if [ -z "$version" ]; then
11 echo "Must specify the distribution version." >&2
12 exit 1
13fi
14
15set -e
16set -x
17
18docs_dir_name=wxWidgets-$version
19docs_file_basename=wxWidgets-docs-html-$version
20
21cd docs/doxygen
22./regen.sh html
23cd out
24mv html $docs_dir_name
25tar cjf ../../../../$docs_file_basename.tar.bz2 $docs_dir_name
26cd $docs_dir_name
27zip -q -r ../../../../../$docs_file_basename.zip .
28
29cd ..
30mv $docs_dir_name html