tbftss/build/win32/build.sh

40 lines
509 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
2016-05-20 23:39:07 +02:00
cp -r locale $OUT
2015-12-06 16:03:24 +01:00
cp LICENSE $OUT
cp README.md $OUT
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