tbftss/build/win32/build.sh

40 lines
494 B
Bash
Raw Normal View History

2015-12-05 09:42:10 +01:00
#!/bin/bash -e
2015-12-05 16:47:57 +01:00
cd `dirname $0`
2015-12-05 09:42:10 +01:00
BUILDROOT="build/win32"
OUT="$BUILDROOT/tbftss"
cd ../..
VERSION=$1
REVISION=$2
SIZE=0
make -f makefile.win32 clean
make -f makefile.win32
mkdir -p $OUT
rm -rf $OUT/*
cp tbftss.exe $OUT
cp -r data $OUT
cp -r gfx $OUT
cp -r music $OUT
cp -r sound $OUT
cp -r manual $OUT
2015-12-05 16:47:57 +01:00
cp CHANGELOG
cp LICENSE
cp README.md
2015-12-05 09:42:10 +01:00
cp /usr/x86_64-w64-mingw32/bin/*.dll $OUT
cd $BUILDROOT
2015-12-05 16:47:57 +01:00
zip -r tbftss-${VERSION}-${REVISION}.win32.zip tbftss
2015-12-05 09:42:10 +01:00
mv *.zip ../../dist
rm -rf tbftss