summaryrefslogtreecommitdiff
path: root/nightly/buildlinux.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-28 20:37:00 +0300
committerAndrei Karas <akaras@inbox.ru>2011-03-29 02:02:54 +0300
commit835db97c56850ad0ee9084c2b1f792f51006ae9b (patch)
tree45df0af5356fce55d7380a6f06fdd32638a44f70 /nightly/buildlinux.sh
parent4c1c22e62b8d713db30c2ac54fdb025bdfe53836 (diff)
downloadmv-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.gz
mv-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.bz2
mv-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.xz
mv-835db97c56850ad0ee9084c2b1f792f51006ae9b.zip
Add nightly build scripts.
Diffstat (limited to 'nightly/buildlinux.sh')
-rwxr-xr-xnightly/buildlinux.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/nightly/buildlinux.sh b/nightly/buildlinux.sh
new file mode 100755
index 000000000..78ac6a4c1
--- /dev/null
+++ b/nightly/buildlinux.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+cd ..
+
+DIR=`pwd`
+DSTDIR=packaging/build/linux
+
+autoreconf -i
+#make clean
+./configure
+make
+
+if [ -e src/manaplus ];
+then
+ strip src/manaplus
+ rm -rf $DSTDIR
+ mkdir -p $DSTDIR
+ cp -r data $DSTDIR
+ mkdir -p $DSTDIR/bin
+ cp src/manaplus $DSTDIR/bin
+ cp nightly/runme.sh $DSTDIR
+fi