]> code.ossystems Code Review - openembedded-core.git/commit
man-pages: respect api-documentation
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 9 Aug 2018 13:39:45 +0000 (13:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Aug 2018 10:36:22 +0000 (11:36 +0100)
commitdc13bf30b54855f1db07b415fa4395f7e0bfc4db
tree75a165c4ec93753cf15930bca8746b6a365e4d11
parent92c79abfdedb4b9f16191e253cf2dcec9e2f0cfb
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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-pages/man-pages_4.16.bb