aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/syncthing/build7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index 51a2e6f5..1a4353f4 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -6,8 +6,7 @@ go mod vendor
go run build.go -no-upgrade -version "v$2" build
-install -Dm755 syncthing "$1/usr/bin/syncthing"
+clinst -Dm755 syncthing "$1/usr/bin/syncthing"
-for manpage in man/*.1 man/*.5 man/*.7; do
- install -Dm644 "$manpage" "$1/usr/share/man/man${manpage##*.}/${manpage##*/}"
-done
+# Install manual pages.
+clman -d "$1" man/*.[0-9]