aboutsummaryrefslogtreecommitdiff
path: root/core/make/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-30 23:06:58 +0300
committerCem Keylan <cem@ckyln.com>2020-12-30 23:06:58 +0300
commit1653cdf900cfaab2bd8fc7ac83794187850d707f (patch)
tree26851b7da6e66faa080e461ea44c829aaa272121 /core/make/build
parentd9f26f27eb38c4727ff8446e36fbb0ed7efb0532 (diff)
downloadrepository-1653cdf900cfaab2bd8fc7ac83794187850d707f.tar.gz
make: bootstrap make if the user doesn't have it
Diffstat (limited to 'core/make/build')
-rwxr-xr-xcore/make/build12
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