summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:10:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:10:36 +0000
commit3020891009a6024b46bc779568644ce16605bda9 (patch)
treea61ddbb55b44c7f37d341e58c4775eaef6fad3b5 /abuild.in
parent05df0f6df0bbf628ede1d460a119605a49f7fc56 (diff)
downloadabuild-3020891009a6024b46bc779568644ce16605bda9.tar.gz
abuild-3020891009a6024b46bc779568644ce16605bda9.tar.bz2
abuild-3020891009a6024b46bc779568644ce16605bda9.tar.xz
abuild-3020891009a6024b46bc779568644ce16605bda9.zip
abuild: add install_if for -doc packages
This lets users 'apk add docs' to always pull in -doc packages.
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index e76d873..41822af 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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