summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-08 22:48:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-08 22:48:42 +0300
commiteef6621f34af49c5838f7377a3e2480279e80125 (patch)
tree04b119973c14e08cf7ec07d72e0b1df70dc1504c
parent0fea007ba384b46e1131cc3a84f1355b96657ad7 (diff)
downloadmanaplus-eef6621f34af49c5838f7377a3e2480279e80125.tar.gz
manaplus-eef6621f34af49c5838f7377a3e2480279e80125.tar.bz2
manaplus-eef6621f34af49c5838f7377a3e2480279e80125.tar.xz
manaplus-eef6621f34af49c5838f7377a3e2480279e80125.zip
Add install action into build script.
-rwxr-xr-xbuild.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index d59da6e75..efa6ceba4 100755
--- a/build.sh
+++ b/build.sh
@@ -1,8 +1,16 @@
#!/bin/bash
+dir=`pwd`
+
autoreconf -i
-./configure
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man
+
cd po
make update-gmo
cd ..
make
+mkdir run
+make install \ No newline at end of file