summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-05 16:47:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-05 17:13:37 +0000
commit9d88baea4f3668612c76201c306ec6efe72c281e (patch)
treee208a4be606dd49a00dac8a50fd38c56bec10802
parent2cdec8044cef963a1cc376484b4c7fa29924d5dc (diff)
downloadopenembedded-core-9d88baea4f3668612c76201c306ec6efe72c281e.tar.gz
openembedded-core-9d88baea4f3668612c76201c306ec6efe72c281e.tar.bz2
openembedded-core-9d88baea4f3668612c76201c306ec6efe72c281e.zip
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@linuxfoundation.org>
-rw-r--r--meta/classes/gtk-doc.bbclass4
1 files changed, 2 insertions, 2 deletions
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} )
}