From 835db97c56850ad0ee9084c2b1f792f51006ae9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Mar 2011 20:37:00 +0300 Subject: Add nightly build scripts. --- nightly/buildlinux.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 nightly/buildlinux.sh (limited to 'nightly/buildlinux.sh') 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 -- cgit v1.2.3-70-g09d2