summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-doc.bbclass
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 06:27:19 -0700
commit3f2fe7a73440d65c084bd806b63300f7ae542728 (patch)
tree5ab41b37269376348655ee7d3495f3f83c09f842 /meta/classes/gtk-doc.bbclass
parent29c6083d1fc2fb7d7bcc55841db3fc758d38b796 (diff)
downloadpoky-3f2fe7a73440d65c084bd806b63300f7ae542728.tar.gz
gtk-doc: use --srcdir instead of cd
(From OE-Core rev: 1bf1cf24f520960d3d10b0b71d665107953dba54) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-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 3f731cb93b..b4f6754906 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -32,7 +32,9 @@ inherit python3native pkgconfig qemu
32DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" 32DEPENDS_append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
33 33
34do_configure_prepend () { 34do_configure_prepend () {
35 ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true ) 35 # Need to use ||true as this is only needed if configure.ac both exists
36 # and uses GTK_DOC_CHECK.
37 gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true
36} 38}
37 39
38do_compile_prepend_class-target () { 40do_compile_prepend_class-target () {