[oe-commits] Richard Purdie : gtk-doc: Fix B verses S issues

git at git.openembedded.org git at git.openembedded.org
Tue Mar 5 17:59:46 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 9d88baea4f3668612c76201c306ec6efe72c281e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9d88baea4f3668612c76201c306ec6efe72c281e

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Mar  5 16:47:18 2013 +0000

gtk-doc: Fix B verses S issues

Fic the class to handle recipes which set B to somewhere other than S.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/gtk-doc.bbclass |    4 ++--
 1 files 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} )
 }





More information about the Openembedded-commits mailing list