Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v2/roll.sh @ 13

Last change on this file since 13 was 12, checked in by landauf, 18 years ago

added boost

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#!/bin/bash
2
3set -e
4# Do some renames/rearrangments
5
6cp -r ../v2 ../boost-build
7# Grab jam_src
8cp -r ../jam_src ../boost-build
9cd ../boost-build
10
11# This one is not fully finished
12rm -rf example/versioned
13# This one is too low-level and misleading
14rm -rf example/make
15
16# Remove unnecessary top-level files
17find . -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
18
19# Prepare some more files.
20echo -e "boost-build kernel ;\n" > boost-build.jam
21
22# Build the documentation
23touch doc/project-root.jam
24export BOOST_ROOT=/home/ghost/Work/boost-rc
25cd doc
26/home/ghost/Work/boost/tools/build/jam_src/bin.linuxx86/bjam --v2
27/home/ghost/Work/boost/tools/build/jam_src/bin.linuxx86/bjam --v2 pdf
28cp `find bin -name "*.pdf"` ../..
29rm -rf bin
30cd ..
31
32# Get the boost logo.
33wget http://boost.org/boost-build2/boost.png
34
35# Adjust the links, so they work with the standalone package
36perl -pi -e 's%../../../boost.png%boost.png%' index.html
37perl -pi -e 's%../../../doc/html/bbv2.html%doc/html/index.html%' index.html
38perl -pi -e 's%../../../doc/html/bbv2.installation.html%doc/html/bbv2.installation.html%' index.html
39
40# Make packages
41find . -name CVS | xargs rm -rf
42rm roll.sh
43chmod a+x jam_src/build.bat
44cd .. && zip -r boost-build.zip boost-build && tar --bzip2 -cf boost-build.tar.bz2 boost-build
45cd boost-build
46
47chmod -R u+w *
48# Upload docs to sourceforge
49perl -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
50scp -r  doc example *.html hacking.txt vladimir_prus@shell.sourceforge.net:/home/groups/b/bo/boost/htdocs/boost-build2
51scp ../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.