summaryrefslogtreecommitdiff
path: root/build.sh
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 /build.sh
parent0fea007ba384b46e1131cc3a84f1355b96657ad7 (diff)
downloadplus-eef6621f34af49c5838f7377a3e2480279e80125.tar.gz
plus-eef6621f34af49c5838f7377a3e2480279e80125.tar.bz2
plus-eef6621f34af49c5838f7377a3e2480279e80125.tar.xz
plus-eef6621f34af49c5838f7377a3e2480279e80125.zip
Add install action into build script.
Diffstat (limited to 'build.sh')
-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