Initial release build script for Linux

This commit is contained in:
James Turner 2011-01-09 22:49:52 +00:00
parent 1ccca5bcaf
commit 90981cbb9c
2 changed files with 31 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dist
.DS_Store

View File

@ -1,2 +1,30 @@
#!/bin/sh
echo "Write me!"
cd simgear
./autogen.sh
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
make
if [ $? -ne '0' ]; then
echo "make simgear failed"
exit 1
fi
make install
make dist
echo "Starting on FlightGear"
cd ../flightgear
./autogen.sh
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
make
if [ $? -ne '0' ]; then
echo "make flightgear failed"
exit 1
fi
make install
make dist