[oe-commits] [openembedded-core] 41/77: manpages.bbclass: add a class

git at git.openembedded.org git at git.openembedded.org
Tue Oct 25 10:32:48 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 279306b77ebfbbde0e0ef38bc4b0e98d51e7768d
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Sep 29 16:20:33 2016 +0300

    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.
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/manpages.bbclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass
new file mode 100644
index 0000000..d16237b
--- /dev/null
+++ b/meta/classes/manpages.bbclass
@@ -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)}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list