#!/bin/bash # Copyright 2014 Vladimir Prus # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) set -e # Build the documentation touch doc/jamroot.jam export BOOST_BUILD_PATH=`pwd` export BOOST_ROOT=/home/ghost/Sources/boost ./bootstrap.sh cd doc ../b2 find . -type f -iname "*.html" | while read i; do echo "Processing: $i" sed -i "s##\ \n\ #g" "$i" done