3 # Copyright 2004 Aleksey Gurtovoy
4 # Copyright 2006 Rene Rivera
5 # Copyright 2003, 2004, 2005, 2006 Vladimir Prus
6 # Distributed under the Boost Software License, Version 1.0.
7 # (See accompanying file LICENSE_1_0.txt or copy at
8 # http://www.boost.org/LICENSE_1_0.txt)
13 revision
=`svnversion .`
14 echo "SVN Revision $revision" >> timestamp.txt
17 # Remove unnecessary top-level files
18 find .
-maxdepth 1 -type f |
egrep -v "boost-build.jam|timestamp.txt|roll.sh|bootstrap.jam|build-system.jam|boost_build.png|index.html|hacking.txt|site-config.jam|user-config.jam|bootstrap.sh|bootstrap.bat|Jamroot.jam" |
xargs rm -f
20 # Build the documentation
22 export BOOST_BUILD_PATH
=`pwd`
27 cp `find bin -name "*.pdf"` ..
/..
28 mv ..
/..
/standalone.pdf ..
/..
/userman.pdf
29 cp ..
/..
/userman.pdf .
35 wget http
://boost.sf.net
/boost-build
2/boost.png
37 # Adjust the links, so they work with the standalone package
38 perl
-pi -e 's%../../../boost.png%boost.png%' index.html
39 perl
-pi -e 's%../../../doc/html/bbv2.html%doc/html/index.html%' index.html
40 perl
-pi -e 's%../../../doc/html/bbv2.installation.html%doc/html/bbv2.installation.html%' index.html
43 find .
-name ".svn" |
xargs rm -rf
45 chmod a
+x engine
/build.bat
46 cd ..
&& zip -r boost-build.
zip boost-build
&& tar --bzip2 -cf boost-build.
tar.bz2 boost-build
47 # Copy packages to a location where they are grabbed for beta.boost.org
48 cp userman.pdf boost-build.
zip boost-build.
tar.bz2 ~
/public_html
/boost_build_nightly
52 # Upload docs to sourceforge
54 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
56 <script type="text/javascript">
57 _uacct = "UA-2917240-2";
62 perl
-pi -e "s|</body>|$x</body>|" index.html
`find doc -name '*.html'`
63 scp
-r doc example boost_build.png
*.html hacking.txt vladimir_prus
,boost@web.sourceforge.net
:/home
/groups
/b
/bo
/boost
/htdocs
/boost-build2
64 scp ..
/userman.pdf vladimir_prus
,boost@web.sourceforge.net
:/home
/groups
/b
/bo
/boost
/htdocs
/boost-build
2/doc