diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-31 22:59:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-31 22:59:32 +0300 |
commit | 7ace68ca489ea19ae5025ad9f56465e3df930490 (patch) | |
tree | 3502380e78fed1df39eb13c11f0fe718fe447092 /build/bmake | |
parent | 3a9727d43325a577a29d13fe259df1de68234e6b (diff) | |
download | plus-7ace68ca489ea19ae5025ad9f56465e3df930490.tar.gz plus-7ace68ca489ea19ae5025ad9f56465e3df930490.tar.bz2 plus-7ace68ca489ea19ae5025ad9f56465e3df930490.tar.xz plus-7ace68ca489ea19ae5025ad9f56465e3df930490.zip |
Change some build script to use separate directory for temp files.
Diffstat (limited to 'build/bmake')
-rwxr-xr-x | build/bmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/bmake b/build/bmake index 687a4a422..231525118 100755 --- a/build/bmake +++ b/build/bmake @@ -1,5 +1,6 @@ #!/bin/bash +mkdir tmp cd .. dir=`pwd` @@ -17,7 +18,8 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ source ./build/gcc6flags.sh 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 \ @@ -27,7 +29,7 @@ autoreconf -i --enable-werror 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 |