aboutsummaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-14 12:55:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-15 03:38:48 -0700
commit1bf1cf24f520960d3d10b0b71d665107953dba54 (patch)
treeb24435fc228f5f5154edb5d40f46ce113242a188 /meta/classes
parenteb08ce66cf7ca6dbdb51fb9b9725267606fba6b9 (diff)
downloadopenembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.zip
openembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.tar.gz
openembedded-core-1bf1cf24f520960d3d10b0b71d665107953dba54.tar.bz2
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.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 3f731cb..b4f6754 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 () {