mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 05:02:21 +02:00
manpages.bbclass: add a class
This class enables 'manpages' feature in packages if 'api-documentation' is in distro features. This ensures that manpages are always built and installed when API documentation feature is enabled. (From OE-Core rev: 1587777f1c54137eb3dacbeb427d2f6814af1713) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
671780de49
commit
1ae7b2e8ab
5
meta/classes/manpages.bbclass
Normal file
5
meta/classes/manpages.bbclass
Normal file
@@ -0,0 +1,5 @@
|
||||
# Inherit this class to enable or disable building and installation of manpages
|
||||
# depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building
|
||||
# tends to pull in the entire XML stack and other tools, so it's not enabled
|
||||
# by default.
|
||||
PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}"
|
||||
Reference in New Issue
Block a user