Signed-off-by: Ross Burton <ross.bur...@intel.com>
---
 meta/classes/gtk-doc.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 3f731cb93bf..b4f6754906a 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -32,7 +32,9 @@ inherit python3native pkgconfig qemu
 DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' 
else ''}"
 
 do_configure_prepend () {
-       ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true )
+       # Need to use ||true as this is only needed if configure.ac both exists
+       # and uses GTK_DOC_CHECK.
+       gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true
 }
 
 do_compile_prepend_class-target () {
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to