From 9190cfd0a3c2244cd5fcb5e4a14c5c230b1161b3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 4 Jul 2013 15:37:50 +0100 Subject: [PATCH] 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. (From OE-Core rev: 6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0) Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/gtk-doc.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index 4e0bd88002..fb7863e99b 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -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"