3 # Build branches/release packages
5 # © Copyright 2008 Beman Dawes
6 # Distributed under the Boost Software License, Version 1.0. See http://www.boost.org/LICENSE_1_0.txt
10 echo "invoke:" $0 "package-name"
11 echo "example:" $0 "boost_1_35_0_RC3"
15 echo "preping posix..."
16 rm -r posix/bin.v2 2>/dev/null
17 rm -r posix/dist 2>/dev/null
19 rm -f $1.tar.gz 2>/dev/null
20 rm -f $1.tar.bz2 2>/dev/null
23 echo "creating bz2..."
24 gunzip -c $1.tar.gz | bzip2 >$1.tar.bz2
28 echo "preping windows..."
29 rm -r windows/bin.v2 2>/dev/null
30 rm -r windows/dist 2>/dev/null
32 rm -f $1.zip 2>/dev/null
33 rm -f $1.7z 2>/dev/null
34 echo "creating zip..."
41 echo "done automatic processing; you must now upload packages manually"