diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2018-08-09 13:39:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 11:36:31 +0100 |
commit | 70576a5049334570da74e4e93f7803eb0771eb20 (patch) | |
tree | c0bb7f602892b69e9d1a6117500eef193e8aec77 | |
parent | e45986743ebbdd7ddf5f6b8c8ef0f290ab9c929d (diff) | |
download | poky-70576a5049334570da74e4e93f7803eb0771eb20.tar.gz |
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>
-rw-r--r-- | meta/recipes-extended/man-pages/man-pages_4.16.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_4.16.bb b/meta/recipes-extended/man-pages/man-pages_4.16.bb index 0fa124fe7c..a64587cf0b 100644 --- a/meta/recipes-extended/man-pages/man-pages_4.16.bb +++ b/meta/recipes-extended/man-pages/man-pages_4.16.bb | |||
@@ -14,8 +14,7 @@ inherit manpages | |||
14 | 14 | ||
15 | MAN_PKG = "${PN}" | 15 | MAN_PKG = "${PN}" |
16 | 16 | ||
17 | # help manpages.bbclass deal with RDEPNDS and postinstall scripts | 17 | PACKAGECONFIG ??= "" |
18 | PACKAGECONFIG = "manpages" | ||
19 | PACKAGECONFIG[manpages] = "" | 18 | PACKAGECONFIG[manpages] = "" |
20 | 19 | ||
21 | do_configure[noexec] = "1" | 20 | do_configure[noexec] = "1" |