22 lines
364 B
Bash
Executable File
22 lines
364 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Store version number in version.h
|
|
./describe-version.py
|
|
|
|
# Different choice if on Darwin
|
|
PLATFORM=`uname`
|
|
echo $PLATFORM
|
|
if [ "$PLATFORM" = "Darwin" ]
|
|
then
|
|
./subbuild-mac-intel.sh
|
|
else
|
|
if [ "$PLATFORM" = "Linux" ]
|
|
then
|
|
# Build linux version
|
|
./subbuild-unix-unix.sh
|
|
else
|
|
echo "I don't know platform $PLATFORM, so I won't do anything"
|
|
fi
|
|
fi
|
|
|