summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/gtk-doc.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 3f731cb93b..b4f6754906 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -32,7 +32,9 @@ inherit python3native pkgconfig qemu
32DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" 32DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
33 33
34do_configure_prepend () { 34do_configure_prepend () {
35 ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true ) 35 # Need to use ||true as this is only needed if configure.ac both exists
36 # and uses GTK_DOC_CHECK.
37 gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true
36} 38}
37 39
38do_compile_prepend_class-target () { 40do_compile_prepend_class-target () {