abuild: compress man pages
This commit is contained in:
parent
72f5a04b7f
commit
cabeb70e10
@ -1233,6 +1233,11 @@ default_doc() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# compress man pages
|
||||||
|
find "$subpkgdir"/usr/share/man/*[1-9] \
|
||||||
|
-type f \! -name \*.gz \! -name \*.bz2 2>/dev/null |
|
||||||
|
xargs -r gzip -9
|
||||||
|
|
||||||
rm -f "$subpkgdir/usr/share/info/dir"
|
rm -f "$subpkgdir/usr/share/info/dir"
|
||||||
|
|
||||||
# remove if empty, ignore error (not empty)
|
# remove if empty, ignore error (not empty)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user