[oe-commits] [openembedded-core] 16/23: gtk-doc: use --srcdir instead of cd
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 15 10:53:29 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 1bf1cf24f520960d3d10b0b71d665107953dba54
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Mar 14 12:55:29 2018 +0000
gtk-doc: use --srcdir instead of cd
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/gtk-doc.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 () {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list