Doc: Fix missing glibconfig.h when builddir!=srcdir

Currently the doc is incomplete when builddir!=srcdir
(e.g. debian package) because glibconfig.h is generared from
configure.ac and is thus missing from srcdir. This leads to
missing doc for symbols like G_GINT64_FORMAT.

https://bugzilla.gnome.org/show_bug.cgi?id=734469
This commit is contained in:
Xavier Claessens
2015-11-02 09:36:47 -05:00
parent ab7b4bebe0
commit 59bfb6be5f
3 changed files with 13 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ DOC_MODULE=gobject
DOC_MAIN_SGML_FILE=gobject-docs.xml
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=$(top_srcdir)/gobject
DOC_SOURCE_DIR =$(top_srcdir)/gobject $(top_builddir)/gobject
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \