]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-doc: Fix B verses S issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2013 16:47:18 +0000 (16:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2013 17:13:37 +0000 (17:13 +0000)
Fic the class to handle recipes which set B to somewhere other than S.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-doc.bbclass

index f7ba78847a601e9000b37cb24cddb091fbb1c90c..4e0bd8800244979f81c6d671f106bb6ee7985401 100644 (file)
@@ -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} )
 }