]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/bin/sh |
2 | # Copyright (C) 2005, 2006 Douglas Gregor. | |
3 | # Copyright (C) 2006 The Trustees of Indiana University | |
92f5a8d4 | 4 | # Copyright (C) 2010 Bryce Lelbach |
f67539c2 | 5 | # Copyright 2018-2020 Rene Rivera |
7c673cae FG |
6 | # |
7 | # Distributed under the Boost Software License, Version 1.0. | |
8 | # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) | |
9 | ||
7c673cae | 10 | # Build b2 |
f67539c2 TL |
11 | echo "Building the B2 engine.." |
12 | pwd=`pwd` | |
1e59de90 | 13 | "${pwd}/src/engine/build.sh" "$@" |
f67539c2 TL |
14 | if [ $? -ne 0 ]; then |
15 | echo | |
16 | echo "Failed to build the B2 engine." 1>&2 | |
17 | exit 1 | |
7c673cae | 18 | fi |
f67539c2 TL |
19 | cd "$pwd" |
20 | cp "./src/engine/b2" . | |
7c673cae FG |
21 | |
22 | cat << EOF | |
23 | ||
f67539c2 | 24 | Building is done. To install, run: |
7c673cae FG |
25 | |
26 | ./b2 install --prefix=<DIR> | |
27 | ||
28 | EOF |