2010-01-29 07:07:27 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2010-02-19 09:25:45 -06:00
|
|
|
if [ ! -e "./compile.sh" ]; then
|
|
|
|
echo "You must run compile.sh in its own direcotry : ./compile.sh"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d "build" ]; then
|
|
|
|
echo "Creating build directory"
|
|
|
|
mkdir build
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd build && cmake .. && make DESTDIR=.. -j2 install
|