From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/classes/gtk-doc.bbclass | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/classes/gtk-doc.bbclass (limited to 'meta/classes/gtk-doc.bbclass') diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass new file mode 100644 index 0000000000..fb7863e99b --- /dev/null +++ b/meta/classes/gtk-doc.bbclass @@ -0,0 +1,23 @@ +# Helper class to pull in the right gtk-doc dependencies and disable +# gtk-doc. +# +# Long-term it would be great if this class could be toggled between +# gtk-doc-stub-native and the real gtk-doc-native, which would enable +# re-generation of documentation. For now, we'll make do with this which +# packages up any existing documentation (so from tarball builds). + +# The documentation directory, where the infrastructure will be copied. +# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S. +GTKDOC_DOCDIR ?= "${S}" + +DEPENDS_append = " gtk-doc-stub-native" + +EXTRA_OECONF_append = "\ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ +" + +do_configure_prepend () { + ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} ) +} -- cgit v1.2.3-54-g00ecf