[oe-commits] Ross Burton : gtkdoc: set the default docdir to ${S}, not ${B}

git at git.openembedded.org git at git.openembedded.org
Wed Jul 10 08:38:00 UTC 2013


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

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Jul  4 15:37:50 2013 +0100

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.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/gtk-doc.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 4e0bd88..fb7863e 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"
 



More information about the Openembedded-commits mailing list