commit 0ca412d
hovercats
·
2024-12-22 20:42:30 +0000 UTC
parent 2aaace0
xxhash: compress manpage
2 files changed,
+9,
-1
+8,
-0
1@@ -9,3 +9,11 @@ make PREFIX=/usr DESTDIR="$1" install_libxxhash.a \
2 install_libxxhash.pc \
3 install_xxhsum \
4 install_man
5+
6+# Compress manpages
7+find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
8+
9+# Fix symlinks
10+for manpage in xxh64sum.1 xxh32sum.1 xxh128sum.1; do
11+ ln -sf xxhsum.1.gz "$1/usr/share/man/man1/$manpage"
12+done
+1,
-1
1@@ -1 +1 @@
2-0.8.2 0
3+0.8.2 1