summaryrefslogtreecommitdiff
path: root/install_debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install_debug.sh')
-rwxr-xr-xinstall_debug.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/install_debug.sh b/install_debug.sh
new file mode 100755
index 00000000..ef6b8a30
--- /dev/null
+++ b/install_debug.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+ME=install_debug
+
+if (($# == 1 ))
+then
+ PREFIX=`echo "$1"|sed -e "s,\/$,,"`
+else
+ PREFIX="/usr/local/ouroboros"
+fi
+
+BUILDDIR=build
+DEBUGDIR=debug
+
+bash compile_debug.sh $PREFIX
+
+cd $BUILDDIR/$DEBUGDIR
+make install