From 0f62ff3b2c0aa357ceda0ac1f2c0be2bdc38f208 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Mar 2013 16:47:18 +0000 Subject: gtk-doc: Fix B verses S issues Fic the class to handle recipes which set B to somewhere other than S. (From OE-Core rev: 9d88baea4f3668612c76201c306ec6efe72c281e) Signed-off-by: Richard Purdie --- meta/classes/gtk-doc.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/gtk-doc.bbclass') diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index f7ba78847a..4e0bd88002 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -7,7 +7,7 @@ # packages up any existing documentation (so from tarball builds). # The documentation directory, where the infrastructure will be copied. -GTKDOC_DOCDIR ?= "${S}" +GTKDOC_DOCDIR ?= "${B}" DEPENDS_append = " gtk-doc-stub-native" @@ -18,5 +18,5 @@ EXTRA_OECONF_append = "\ " do_configure_prepend () { - gtkdocize --docdir ${GTKDOC_DOCDIR} + ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} ) } -- cgit v1.2.3-54-g00ecf