Message ID | 20180315104315.14973-1-ross.burton@intel.com |
---|---|
State | Accepted |
Commit | 1bf1cf24f520960d3d10b0b71d665107953dba54 |
Headers | show |
Series | gtk-doc: use --srcdir instead of cd | expand |
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 () {
Signed-off-by: Ross Burton <ross.burton@intel.com> --- meta/classes/gtk-doc.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core