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

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --program-prefix=g

make
make DESTDIR="$1" install

# Setup alternatives
ln -s gm4   "$1/usr/bin/m4"
ln -s gm4.1 "$1/usr/share/man/man1/m4.1"