From f2541bb90af059680aa7036f315f052175999355 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 8 Apr 2015 03:09:47 +0000 Subject: Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2. --- tools/build/scripts/build-docs.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 tools/build/scripts/build-docs.sh (limited to 'tools/build/scripts/build-docs.sh') diff --git a/tools/build/scripts/build-docs.sh b/tools/build/scripts/build-docs.sh new file mode 100755 index 000000000..4463774ef --- /dev/null +++ b/tools/build/scripts/build-docs.sh @@ -0,0 +1,34 @@ +#!/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 + -- cgit v1.2.1