aboutsummaryrefslogtreecommitdiff
path: root/extra/bmake/build
blob: 300bbc52ca2bca275097719d5b78bafbf0d66c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

sed -i '1s,:,#!/bin/sh,' install-sh
sed -i 's/op_test() {/& return 0;/' boot-strap

./boot-strap --prefix=/usr op=build
./boot-strap --prefix=/usr --install-destdir="$1" op=install

install -Dm644 bmake.1 "$1/usr/share/man/man1/bmake.1"