1
0
Fork 0
fgmeta/hudson_build_release.sh

33 lines
516 B
Bash
Raw Normal View History

2011-01-07 22:38:39 +00:00
#!/bin/sh
2011-01-09 22:49:52 +00:00
cd simgear
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
2011-01-09 22:49:52 +00:00
# first make source package (clean directory), finally compile
make package_source
2011-01-09 22:49:52 +00:00
make
if [ $? -ne '0' ]; then
echo "make simgear failed"
exit 1
fi
make install
echo "Starting on FlightGear"
cd ../flightgear
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
# first source package (clean directory), finally compile
make package_source
2011-01-09 22:49:52 +00:00
make
if [ $? -ne '0' ]; then
echo "make flightgear failed"
exit 1
fi
make install