Skip to contentSkip to conversation

gtkdoc: set the default docdir to ${S}, not ${B}

PATCH New Ross Burton 1 participant 1 message Jul 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gtkdoc: set the default docdir to ${S}, not ${B}

Previously these directories were the same location, but with seperatebuilddir.inc they are not and putting the file into ${B} means it goes to the wrong place for autoreconf.

---
 meta/classes/gtk-doc.bbclass |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/gtk-doc.bbclass +2 -1
index 4e0bd88..fb7863e 100644
@@ -7,7 +7,8 @@
 # packages up any existing documentation (so from tarball builds).
 
 # The documentation directory, where the infrastructure will be copied.
-GTKDOC_DOCDIR ?= "${B}"
+# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S.
+GTKDOC_DOCDIR ?= "${S}"
 
 DEPENDS_append = " gtk-doc-stub-native"
 
Signature · 1 line
1.7.10.4