summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/gtk-doc.bbclass10
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/classes-recipe/gtk-doc.bbclass b/meta/classes-recipe/gtk-doc.bbclass
index c980c6bb52..9d3911966b 100644
--- a/meta/classes-recipe/gtk-doc.bbclass
+++ b/meta/classes-recipe/gtk-doc.bbclass
@@ -33,21 +33,11 @@ EXTRA_OEMESON:prepend = "-D${GTKDOC_MESON_OPTION}=${@bb.utils.contains('GTKDOC_E
33# needed for m4 macros. 33# needed for m4 macros.
34DEPENDS:append = " gtk-doc-native" 34DEPENDS:append = " gtk-doc-native"
35 35
36# The documentation directory, where the infrastructure will be copied.
37# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S.
38GTKDOC_DOCDIR ?= "${S}"
39
40export STAGING_DIR_HOST 36export STAGING_DIR_HOST
41 37
42inherit python3native pkgconfig qemu 38inherit python3native pkgconfig qemu
43DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" 39DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
44 40
45do_configure:prepend () {
46 # Need to use ||true as this is only needed if configure.ac both exists
47 # and uses GTK_DOC_CHECK.
48 gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true
49}
50
51do_compile:prepend:class-target () { 41do_compile:prepend:class-target () {
52 if [ ${GTKDOC_ENABLED} = True ]; then 42 if [ ${GTKDOC_ENABLED} = True ]; then
53 # Write out a qemu wrapper that will be given to gtkdoc-scangobj so that it 43 # Write out a qemu wrapper that will be given to gtkdoc-scangobj so that it