summaryrefslogtreecommitdiff
path: root/build-debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-debug.sh')
-rwxr-xr-xbuild-debug.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-debug.sh b/build-debug.sh
index 087f4b7..c648610 100755
--- a/build-debug.sh
+++ b/build-debug.sh
@@ -1,7 +1,7 @@
# This little script creates a build/ directory, enters it
# and builds BibleTime there.
#
-# BibleTime will be installed to build/install and can be run
+# BibleTime will be installed to build/install and can be run
# just from there: ./build/install/bin/bibletime. It will find all
# required files.
@@ -9,6 +9,7 @@
if [ ! -d build ]; then mkdir build; fi
cd build
cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX="install/" .. || exit 1
+make clean
make -j4 install || exit 1
cd ..