aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-xcommunity/syncthing/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index a35e8424..083ac07b 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -3,3 +3,17 @@
go run build.go build
install -Dm755 syncthing "$1/usr/bin/syncthing"
+
+cd man
+
+for man in *.1; do
+ install -Dm644 "$man" "$1/usr/share/man/man1/$man"
+done
+
+for man in *.5; do
+ install -Dm644 "$man" "$1/usr/share/man/man5/$man"
+done
+
+for man in *.7; do
+ install -Dm644 "$man" "$1/usr/share/man/man7/$man"
+done