From d6aac28241f65dc3570835ad50d375214e634983 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Mar 2013 16:47:18 +0000 Subject: [PATCH] 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(-) diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index f7ba788..4e0bd88 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} ) } -- 2.7.4