aboutsummaryrefslogtreecommitdiff
path: root/extra/bmake/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bmake/build')
-rwxr-xr-xextra/bmake/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/bmake/build b/extra/bmake/build
new file mode 100755
index 00000000..01e6b58a
--- /dev/null
+++ b/extra/bmake/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+
+clsed '1s,:,#!/bin/sh,' install-sh
+clsed 's/op_test() {/& return 0;/' boot-strap
+
+./boot-strap --prefix=/usr op=build
+./boot-strap --prefix=/usr --install-destdir="$1" op=install
+
+clman -d "$1" bmake.1