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