diff --git a/docs/reference/gio/Makefile.am b/docs/reference/gio/Makefile.am index b17b50d3f..07fe6e60c 100644 --- a/docs/reference/gio/Makefile.am +++ b/docs/reference/gio/Makefile.am @@ -13,10 +13,11 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \ --ignore-decorators="G_GNUC_WARN_UNUSED_RESULT" # The directory containing the source code. Relative to $(srcdir) -DOC_SOURCE_DIR=$(top_srcdir)/gio +DOC_SOURCE_DIR =$(top_srcdir)/gio $(top_builddir)/gio -BUILT_HFILES=gioenumtypes.h -HFILE_GLOB=$(top_srcdir)/gio/*.h +HFILE_GLOB= \ + $(top_srcdir)/gio/*.h \ + $(top_builddir)/gio/gioenumtypes.h CFILE_GLOB=$(top_srcdir)/gio/*.c IGNORE_HFILES = \ diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index 67de7fe7d..8dbb069ee 100644 --- a/docs/reference/glib/Makefile.am +++ b/docs/reference/glib/Makefile.am @@ -9,7 +9,9 @@ DOC_MODULE=glib DOC_MAIN_SGML_FILE=glib-docs.xml # The directory containing the source code. Relative to $(srcdir) -DOC_SOURCE_DIR=$(top_srcdir)/glib $(top_srcdir)/gmodule +DOC_SOURCE_DIR = \ + $(top_srcdir)/glib $(top_srcdir)/gmodule \ + $(top_builddir)/glib $(top_builddir)/gmodule # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT" @@ -18,8 +20,11 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLI MKDB_OPTIONS=--output-format=xml --name-space=g # Used for dependencies -HFILE_GLOB=$(top_srcdir)/glib/*.h $(top_srcdir)/gmodule/*.h -CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c +HFILE_GLOB = \ + $(top_srcdir)/glib/*.h \ + $(top_srcdir)/gmodule/*.h \ + $(top_builddir)/glib/glibconfig.h +CFILE_GLOB= $(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c # Ignore some private headers IGNORE_HFILES = \ diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am index 1ca615866..50b239ba3 100644 --- a/docs/reference/gobject/Makefile.am +++ b/docs/reference/gobject/Makefile.am @@ -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" \