diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:06:58 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:06:58 +0300 |
commit | 1653cdf900cfaab2bd8fc7ac83794187850d707f (patch) | |
tree | 26851b7da6e66faa080e461ea44c829aaa272121 /core/make/build | |
parent | d9f26f27eb38c4727ff8446e36fbb0ed7efb0532 (diff) | |
download | repository-1653cdf900cfaab2bd8fc7ac83794187850d707f.tar.gz |
make: bootstrap make if the user doesn't have it
Diffstat (limited to 'core/make/build')
-rwxr-xr-x | core/make/build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/make/build b/core/make/build index bbd53ee2..265eeb2d 100755 --- a/core/make/build +++ b/core/make/build @@ -3,7 +3,15 @@ export LDFLAGS="$LDFLAGS -static" ./configure \ - --prefix=/usr + --prefix=/usr \ + --disable-nls \ + --without-guile \ + "$(cpt l --check make -- '' --disable-dependency-tracking)" -make +if command -v make >/dev/null; then + make +else + ./build.sh + PATH=$PWD:$PATH +fi make DESTDIR="$1" install |