summaryrefslogtreecommitdiff
path: root/nightly/buildlinux.sh
blob: ebc07dd87cee4e01acb01badb2af9eaf768b946e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

cd ..

DIR=`pwd`
DSTDIR=packaging/build/linux

autoreconf -i
#make clean
./configure --datadir=. localedir=locale
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