summaryrefslogblamecommitdiff
path: root/nightly/buildlinux.sh
blob: 78ac6a4c1da1e50ca55392b0407e20d546aecb57 (plain) (tree)





















                               
#!/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