commit 1653cdf900cfaab2bd8fc7ac83794187850d707f parent d9f26f27eb38c4727ff8446e36fbb0ed7efb0532 Author: Cem Keylan <cem@ckyln.com> Date: Wed, 30 Dec 2020 23:06:58 +0300 make: bootstrap make if the user doesn't have it Diffstat:
M | core/make/build | | | 12 | ++++++++++-- |
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git 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