Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/roll.sh @ 32

Last change on this file since 32 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

  • Property svn:executable set to *
File size: 2.2 KB
Line 
1#!/bin/bash
2
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 http://www.boost.org/LICENSE_1_0.txt)
8
9set -e
10# Do some renames/rearrangments
11
12cp -r ../v2 ../boost-build
13# Grab jam_src
14cp -r ../../jam/src ../boost-build/jam_src
15cd ../boost-build
16
17# This one is not fully finished
18rm -rf example/versioned
19
20# Remove unnecessary top-level files
21find . -maxdepth 1 -type f | egrep -v "roll.sh|bootstrap.jam|build-system.jam|boost_build_v2.html|boost.png|index.html|hacking.txt|site-config.jam|user-config.jam" | xargs rm -f
22
23# Prepare some more files.
24echo -e "boost-build kernel ;\n" > boost-build.jam
25
26# Build the documentation
27touch doc/project-root.jam
28export BOOST_BUILD_PATH=/home/ghost/Work/boost-rc/tools/build/v2
29cd doc
30/home/ghost/Work/boost-rc/tools/jam/src/bin.linuxx86/bjam --v2
31/home/ghost/Work/boost-rc/tools/jam/src/bin.linuxx86/bjam --v2 pdf
32cp `find bin -name "*.pdf"` ../..
33mv ../../standalone.pdf ../../userman.pdf
34rm -rf bin
35cd ..
36
37# Get the boost logo.
38wget http://boost.sf.net/boost-build2/boost.png
39
40# Adjust the links, so they work with the standalone package
41perl -pi -e 's%../../../boost.png%boost.png%' index.html
42perl -pi -e 's%../../../doc/html/bbv2.html%doc/html/index.html%' index.html
43perl -pi -e 's%../../../doc/html/bbv2.installation.html%doc/html/bbv2.installation.html%' index.html
44
45# Make packages
46find . -name CVS | xargs rm -rf
47rm roll.sh
48chmod a+x jam_src/build.bat
49date >> timestamp.txt
50cd .. && zip -r boost-build.zip boost-build && tar --bzip2 -cf boost-build.tar.bz2 boost-build
51cd boost-build
52
53chmod -R u+w *
54# Upload docs to sourceforge
55perl -pi -e 's%<!-- sf logo -->%<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=7586&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" align="right"/></a>%' index.html doc/*.html
56scp -r  doc example *.html hacking.txt vladimir_prus@shell.sourceforge.net:/home/groups/b/bo/boost/htdocs/boost-build2
57scp ../userman.pdf vladimir_prus@shell.sourceforge.net:/home/groups/b/bo/boost/htdocs/boost-build2/doc
Note: See TracBrowser for help on using the repository browser.