2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-31 20:12:19 +00:00
Files
build/scripts/roll.sh
Vladimir Prus cf46e57f64 Improve distro roller.
[SVN r18447]
2003-05-19 12:26:27 +00:00

25 lines
910 B
Bash

#!/bin/bash
# Clean up
cvs up -dP
rm -rf examples
# This one is not fully finished
rm -rf examples-v2/versioned
find . -maxdepth 1 -type f | egrep -v "roll.sh|boost_build_v2.html|c++boost.gif|index_v2.html|hacking.txt" | xargs rm -f
# Prepare some more files.
mv index_v2.html index.html
echo -e "boost-build new ;\n" > boost-build.jam
# Make packages
find . -name CVS | xargs rm -rf
rm roll.sh
cd .. && zip -r boost-build.zip boost-build && tar --bzip2 -cf boost-build.tar.bz2 boost-build
cd boost-build
# Upload docs to sourceforge
perl -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>%' boost_build_v2.html index.html doc/*.html
scp -r doc *.html hacking.txt vladimir_prus@shell.sourceforge.net:/home/groups/b/bo/boost/htdocs/boost-build2