]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtkdoc: set the default docdir to ${S}, not ${B}
authorRoss Burton <ross.burton@intel.com>
Thu, 4 Jul 2013 14:37:50 +0000 (15:37 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 9 Jul 2013 14:56:15 +0000 (07:56 -0700)
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@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/gtk-doc.bbclass

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