Commit a1cbe221 authored by Natanael Copa's avatar Natanael Copa

let doc split func remove /usr/share/info/dir

and compress man and info files
parent 92cb48ff
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment