Build system updates.
This commit is contained in:
parent
852e7ca93e
commit
e140c525e2
|
@ -1,11 +1,10 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
|
VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
|
||||||
REVISION=`git rev-list HEAD --count`
|
|
||||||
|
|
||||||
mkdir -p ../dist
|
mkdir -p ../dist
|
||||||
rm -rf ../dist/*
|
rm -rf ../dist/*
|
||||||
|
|
||||||
linux/build.sh $VERSION $REVISION
|
linux/build.sh $VERSION
|
||||||
|
|
||||||
win32/build.sh $VERSION $REVISION
|
win32/build.sh $VERSION
|
||||||
|
|
|
@ -7,8 +7,6 @@ BUILDROOT="build/linux"
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
REVISION=$2
|
|
||||||
SIZE=0
|
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
make src-dist
|
make src-dist
|
||||||
|
|
|
@ -7,7 +7,6 @@ BUILDROOT="build/win32"
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
REVISION=$2
|
|
||||||
FOLDER="blobWarsAttrition-$1"
|
FOLDER="blobWarsAttrition-$1"
|
||||||
OUT="$BUILDROOT/$FOLDER"
|
OUT="$BUILDROOT/$FOLDER"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue