aboutsummaryrefslogtreecommitdiff
path: root/extra/samurai/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/samurai/build')
-rwxr-xr-xextra/samurai/build5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/samurai/build b/extra/samurai/build
index 1dd11b38..547d1464 100755
--- a/extra/samurai/build
+++ b/extra/samurai/build
@@ -1,6 +1,7 @@
#!/bin/sh -e
-make PREFIX=/usr
+make PREFIX=/usr LDFLAGS="$LDFLAGS -static"
make PREFIX=/usr DESTDIR="$1" install
-ln -s samu "$1/usr/bin/ninja"
+ln -s samu "$1/usr/bin/ninja"
+ln -s samu.1 "$1/usr/share/man/man1/ninja.1"