From 8975ef3410540719ce9101bdf6925e6f2fc21e4e Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 5 Dec 2015 15:47:57 +0000 Subject: [PATCH] Build script updates. --- build/buildAll.sh | 2 -- build/linux/build.sh | 2 ++ build/win32/build.sh | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build/buildAll.sh b/build/buildAll.sh index ddc1eaa..6f920cd 100755 --- a/build/buildAll.sh +++ b/build/buildAll.sh @@ -6,8 +6,6 @@ REVISION=`date +"%y%m%d"` mkdir -p ../dist rm -rf ../dist/* -cd build - linux/build.sh $VERSION $REVISION win32/build.sh $VERSION $REVISION diff --git a/build/linux/build.sh b/build/linux/build.sh index 4b9b3f5..d488e03 100755 --- a/build/linux/build.sh +++ b/build/linux/build.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +cd `dirname $0` + BUILDROOT="build/linux" OUT="$BUILDROOT/tbftss" diff --git a/build/win32/build.sh b/build/win32/build.sh index 13c79d6..8576fa4 100755 --- a/build/win32/build.sh +++ b/build/win32/build.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +cd `dirname $0` + BUILDROOT="build/win32" OUT="$BUILDROOT/tbftss" @@ -22,12 +24,15 @@ cp -r gfx $OUT cp -r music $OUT cp -r sound $OUT cp -r manual $OUT +cp CHANGELOG +cp LICENSE +cp README.md cp /usr/x86_64-w64-mingw32/bin/*.dll $OUT cd $BUILDROOT -zip -r tbftss-${VERSION}-${REVISION}.zip tbftss +zip -r tbftss-${VERSION}-${REVISION}.win32.zip tbftss mv *.zip ../../dist