blob: 24ef620a3b5c0e10635463320bb9ebd352040913 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/bash
cd ..
DSTDIR=packaging/build/linux
export CXXFLAGS="-Wall -g0 -O3"
autoreconf -i
#make clean
./configure --enable-portable=yes
result=$?
if [ "$result" != 0 ]; then
exit $result
fi
make -j16
result=$?
if [ "$result" != 0 ]; then
exit $result
fi
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
cp "nightly/run tests.sh" $DSTDIR
fi
|