2315
by Martin Gruner
Moved source code to toplevel. |
1 |
# This little script creates a build/ directory, enters it
|
2 |
# and builds BibleTime there.
|
|
3 |
#
|
|
4 |
# BibleTime will be installed to /usr/local by default (see CMAKE_INSTALL_PREFIX below).
|
|
5 |
||
6 |
if [ ! -d build ]; then mkdir build; fi |
|
7 |
cd build
|
|
8 |
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. || exit 1 |
|
9 |
make clean |
|
10 |
make -j4 install || exit 1 |
|
11 |
cd ..
|
|
12 |
||
13 |
echo
|
|
14 |
echo "BibleTime has been installed to /usr/local." |
|
15 |
echo "You can run it by typing /usr/local/bin/bibletime." |
|
16 |
echo
|