From: Ross Burton Date: Wed, 14 Mar 2018 12:55:29 +0000 (+0000) Subject: gtk-doc: use --srcdir instead of cd X-Git-Tag: uninative-1.9~175 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1bf1cf24f520960d3d10b0b71d665107953dba54;p=openembedded-core.git gtk-doc: use --srcdir instead of cd Signed-off-by: Ross Burton --- 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 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 () {