Introduce standard subpackage -man for man pages
Man pages are currently included in
-doc subpackages. The problem is that
-doc is too general and some packages bloat it with huge HTML docs (including images, CSS, JS files…). It’s also used for configuration examples, licenses and basically any stuff that remotely resembles something like a documentation or examples.
A few examples of such packages:
There’s a metapackage
docs that automatically install a corresponding
-doc package for every installed package. I’d like to install only man pages for each installed package, not any HTML pages and other bloat. This is currently not possible.
I propose to introduce a standard subpackage
-man that will be intended for man pages only.
- Add predefined split function
/usr/bin/abuild. Move logic for man pages from
depends="" pkgdesc="$pkgdesc (man pages)" install_if="mans $pkgname=$pkgver-r$pkgrel"
- Create meta package
- Mass-update all aports with man pages in
$pkgname-manto their subpackages.
- We can ban huge HTML pages and PDFs in
-docpackages. The problem is that it’s kinda fuzzy.