summaryrefslogtreecommitdiff
path: root/build/pmake
diff options
context:
space:
mode:
Diffstat (limited to 'build/pmake')
-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