aboutsummaryrefslogtreecommitdiff
path: root/core/make/build
blob: ffb942a7afd8687aa8541157533f1453e8f2acd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

cpt-configure \
    --disable-nls \
    --without-guile \
    "$(cpt l --check make -- '' --disable-dependency-tracking)"

if command -v make >/dev/null; then
    make
else
    ./build.sh
    PATH=$PWD:$PATH
fi
make DESTDIR="$1" install