2007-05-03 13:00:00 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-05-02 16:15:50 +01:00
|
|
|
# Store version number in version.h
|
|
|
|
./describe-version.py
|
|
|
|
|
|
|
|
# Different choice if on Darwin
|
2007-05-03 13:00:00 +01:00
|
|
|
PLATFORM=`uname`
|
|
|
|
echo $PLATFORM
|
|
|
|
if [ "$PLATFORM" = "Darwin" ]
|
|
|
|
then
|
2012-11-22 13:31:19 +00:00
|
|
|
./subbuild-mac-intel.sh
|
2007-05-03 13:00:00 +01:00
|
|
|
else
|
|
|
|
if [ "$PLATFORM" = "Linux" ]
|
|
|
|
then
|
2012-05-02 20:25:31 +01:00
|
|
|
# Build linux version
|
|
|
|
./subbuild-unix-unix.sh
|
2007-05-03 13:00:00 +01:00
|
|
|
else
|
|
|
|
echo "I don't know platform $PLATFORM, so I won't do anything"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|