man-pages: respect api-documentation

* let manpages.bbclass to enable manpages PACKAGECONFIG based on
  api-documentation DISTRO_FEATURES
  PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages','', d)}"
* it's true that building man-pages without manpages being enabled
  doesn't make much sense, but it's included through couple
  packagegroups:
  meta/recipes-core/packagegroups/packagegroup-self-hosted.bb:    man-pages \
  meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb:    man-pages \
  or in world even for people who might not be interested
  in man-pages

(From OE-Core rev: dc13bf30b54855f1db07b415fa4395f7e0bfc4db)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2018-08-09 13:39:45 +00:00
committed by Richard Purdie
parent e45986743e
commit 70576a5049

View File

@@ -14,8 +14,7 @@ inherit manpages
MAN_PKG = "${PN}"
# help manpages.bbclass deal with RDEPNDS and postinstall scripts
PACKAGECONFIG = "manpages"
PACKAGECONFIG ??= ""
PACKAGECONFIG[manpages] = ""
do_configure[noexec] = "1"