Commit 30208910 authored by Natanael Copa's avatar Natanael Copa

abuild: add install_if for -doc packages

This lets users 'apk add docs' to always pull in -doc packages.
parent 05df0f6d
......@@ -1391,6 +1391,7 @@ default_doc() {
depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)"
arch=${arch_doc:-"noarch"}
install_if="docs $pkgname=$pkgver-r$pkgrel"
local i
for i in doc man info html sgml licenses gtk-doc ri help; do
......
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