summaryrefslogtreecommitdiff
path: root/nightly/buildlinux.sh
diff options
context:
space:
mode:
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