summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/manpages.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass
new file mode 100644
index 0000000000..d16237b898
--- /dev/null
+++ b/meta/classes/manpages.bbclass
@@ -0,0 +1,5 @@
1# Inherit this class to enable or disable building and installation of manpages
2# depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building
3# tends to pull in the entire XML stack and other tools, so it's not enabled
4# by default.
5PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}"