mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-24 07:52:30 +00:00
let doc split func remove /usr/share/info/dir
and compress man and info files
This commit is contained in:
parent
92cb48ffc9
commit
a1cbe2213b
6
abuild
6
abuild
@ -312,6 +312,12 @@ doc() {
|
||||
fi
|
||||
done
|
||||
|
||||
rm -f "$subpkgdir/usr/share/info/dir"
|
||||
|
||||
# compress info and man pages
|
||||
find "$subpkgdir/usr/share" \( -name '*.info' -o name '*.info-[1-9]' \
|
||||
-o -name '*.[1-9]' \) -exec gzip {} \;
|
||||
|
||||
# remove if empty, ignore error (not empty)
|
||||
rmdir "$pkgdir/usr/share" "$pkgdir/usr" 2>/dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user