aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-24 00:39:34 +0300
committerCem Keylan <cem@ckyln.com>2021-03-24 00:40:15 +0300
commitfbcf5de781696b81138b48779433b976fda00540 (patch)
tree44b17e2a1fd4ba5da87e1fe1ce2607180348d2e4 /extra
parent79882889bd55f94b7364417adc05265518317225 (diff)
downloadrepository-fbcf5de781696b81138b48779433b976fda00540.tar.gz
samurai: install manual pages, link statically
Diffstat (limited to 'extra')
-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"