diff options
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 4 |
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 | |||
32 | DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" | 32 | DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" |
33 | 33 | ||
34 | do_configure_prepend () { | 34 | do_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 | ||
38 | do_compile_prepend_class-target () { | 40 | do_compile_prepend_class-target () { |