diff options
author | Ross Burton <ross.burton@intel.com> | 2018-03-14 12:55:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-15 03:38:48 -0700 |
commit | 1bf1cf24f520960d3d10b0b71d665107953dba54 (patch) | |
tree | b24435fc228f5f5154edb5d40f46ce113242a188 /meta/classes | |
parent | eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9 (diff) | |
download | openembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.tar.gz openembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.tar.bz2 openembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.zip |
gtk-doc: use --srcdir instead of cd
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-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 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 () { |