diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-13 10:40:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-13 10:40:58 +0000 |
commit | a1cbe2213ba0e5e1cb27c449476a1403b3fa0d5a (patch) | |
tree | ccf0970d0280b113c66bdfcf564e6f4d0f61cf81 /abuild | |
parent | 92cb48ffc956b541e60ef64440ae1d629d56af51 (diff) | |
download | abuild-a1cbe2213ba0e5e1cb27c449476a1403b3fa0d5a.tar.gz abuild-a1cbe2213ba0e5e1cb27c449476a1403b3fa0d5a.tar.bz2 abuild-a1cbe2213ba0e5e1cb27c449476a1403b3fa0d5a.tar.xz abuild-a1cbe2213ba0e5e1cb27c449476a1403b3fa0d5a.zip |
let doc split func remove /usr/share/info/dir
and compress man and info files
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -311,6 +311,12 @@ doc() { mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/" 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 |