aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/git/build5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/git/build b/core/git/build
index 197cbf14..b61896fa 100755
--- a/core/git/build
+++ b/core/git/build
@@ -23,10 +23,7 @@ export LDFLAGS="$LDFLAGS -static"
make
make DESTDIR="$1" install
-for man in man1/*.1 man5/*.5 man7/*.7; do
- install -Dm644 "$man" "$1/usr/share/man/$man"
-done
-
+clman -d "$1" man1/*.1 man5/*.5 man7/*.7
# Build and install remote-http helper. This doesn't happen by default when
# building static git.