aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 01:18:48 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 01:18:48 +0300
commit161f6186edcde6961ee713a19f9c0deb92ff640b (patch)
treee0e313be7c808e545efdcad138c9f958ea69d259
parent11a2c4d0dfd730fd077df13158409430341fb765 (diff)
downloadrepository-161f6186edcde6961ee713a19f9c0deb92ff640b.tar.gz
git: use clman
-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.