summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-18 00:21:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-18 00:21:20 +0300
commita07fa9a14b7fa59d1e6c347ccbffb7f2c007e514 (patch)
tree2f19405b189b7eeef8c42a6f10be20618d96a691 /build
parenta9efd6f7d46f58861d98e6546b65b35a09cb0d1a (diff)
downloadmv-a07fa9a14b7fa59d1e6c347ccbffb7f2c007e514.tar.gz
mv-a07fa9a14b7fa59d1e6c347ccbffb7f2c007e514.tar.bz2
mv-a07fa9a14b7fa59d1e6c347ccbffb7f2c007e514.tar.xz
mv-a07fa9a14b7fa59d1e6c347ccbffb7f2c007e514.zip
Update pmake script.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/pmake10
1 files changed, 6 insertions, 4 deletions
diff --git a/build/pmake b/build/pmake
index a61750e6d..e1cf775c9 100755
--- a/build/pmake
+++ b/build/pmake
@@ -1,5 +1,6 @@
-#!/bin/sh
+#!/bin/bash
+mkdir tmp
cd ..
dir=`pwd`
@@ -12,13 +13,14 @@ export LANG=C
export CXXFLAGS="-g -pg -fno-inline -fno-omit-frame-pointer"
autoreconf -i
-./configure --prefix=$dir/run \
+cd build/tmp
+../../configure --prefix=$dir/run \
--datadir=$dir/run/share/games \
--bindir=$dir/run/bin \
--mandir=$dir/run/share/man
cd po
-make -j8 update-gmo 2>../build/make1.log
+make -j8 update-gmo 2>../../make1.log
cd ..
-make -j8 2>build/make2.log
+make -j8 2>../make2.log