From 78ff09e592a119f0c3670a6e8b59db2fa1244d1c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 18 Dec 2019 02:12:08 +0300 Subject: syncthing: add manpages --- community/syncthing/build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'community/syncthing/build') 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 -- cgit v1.2.3