mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
32 lines
736 B
Bash
Executable file
32 lines
736 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Copyright (C) 2015 Mathieu Champlon
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
copy()
|
|
{
|
|
for dir; do true; done
|
|
mkdir -p $dir
|
|
cp $@
|
|
}
|
|
|
|
set -x
|
|
|
|
export BOOST=$BOOST_ROOT
|
|
|
|
cd ../test
|
|
$BOOST/b2 -q "$@"
|
|
cd ../build
|
|
|
|
export BOOSTBOOK_DIR=../bin/turtle/boostbook
|
|
copy -r "$BOOST"/tools/boostbook/xsl $BOOSTBOOK_DIR
|
|
copy -r "$BOOST"/tools/boostbook/dtd $BOOSTBOOK_DIR
|
|
copy -r boostbook/* $BOOSTBOOK_DIR
|
|
copy "$BOOST"/doc/src/boostbook.css ../doc/html
|
|
copy "$BOOST"/doc/src/images/*.png ../doc/html/images
|
|
copy "$BOOST"/doc/src/images/callouts/*.png ../doc/html/images/callouts
|
|
cd ../doc
|
|
$BOOST/b2 -q "$C"
|
|
cd ../build
|