tzwrapper.cc: fixed use of iterator after erase
[barry.git] / maintainer / tar-prepare.sh
blob1972bce4f2659202eb9be973061ef949cedba7ec
1 #!/bin/bash
3 if [ -n "$1" ] ; then
4 echo
5 echo "Usage: ./tar-prepare.sh"
6 echo
7 echo "This script prepares a Barry directory for release, assuming"
8 echo "that it is run from inside the root of a freshly extracted"
9 echo "Barry source tree."
10 echo
11 exit 1
14 set -e
16 # Are we in a Barry root tree?
17 if ! [ -f AUTHORS -a -f ChangeLog -a -f COPYING -a -f buildgen.sh ] ; then
18 echo "Can't find Barry files. Please run from root of Barry tree."
19 exit 1
22 # Generate web docs
23 (cd doc/www && ./static.sh)
25 # Generate doxygen docs
26 # These are large... let the user run if needed,
27 # and post on the website instead of in the tarball.
28 #(doxygen && rm -f doxygen.log)
30 # Generate configure scripts
31 ./buildgen.sh
33 # Clean up the extraneous autoconf clutter
34 rm -rf \
35 autom4te.cache \
36 gui/autom4te.cache \
37 opensync-plugin/autom4te.cache \
38 opensync-plugin-0.4x/autom4te.cache \
39 desktop/autom4te.cache