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.
6
# The script should be ran from the root of wxWidgets checkout and creates the
7
# output files in its parent directory.
10
if [ -z "$version" ]; then
11
echo "Must specify the distribution version." >&2
18
docs_dir_name=wxWidgets-$version
19
docs_file_basename=wxWidgets-docs-html-$version
24
mv html $docs_dir_name
25
tar cjf ../../../../$docs_file_basename.tar.bz2 $docs_dir_name
27
zip -q -r ../../../../../$docs_file_basename.zip .
30
mv $docs_dir_name html