From 6a81ced72d0d5dc835e53dd6ae6652a3c9de494b Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 21 Oct 2011 15:40:56 +0200 Subject: [PATCH] Fix document generation in out of tree builds https://bugzilla.gnome.org/show_bug.cgi?id=662390 --- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index 72bfc81b5..b9a305e94 100644 --- a/docs/reference/glib/Makefile.am +++ b/docs/reference/glib/Makefile.am @@ -10,7 +10,7 @@ DOC_MODULE=glib DOC_MAIN_SGML_FILE=glib-docs.sgml # The directory containing the source code. Relative to $(srcdir) -DOC_SOURCE_DIR=../../../glib ../../../gmodule +DOC_SOURCE_DIR=$(top_srcdir)/glib $(top_srcdir)/gmodule # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR" diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am index a326f8153..d3870142c 100644 --- a/docs/reference/gobject/Makefile.am +++ b/docs/reference/gobject/Makefile.am @@ -10,7 +10,7 @@ DOC_MODULE=gobject DOC_MAIN_SGML_FILE=gobject-docs.sgml # The directory containing the source code. Relative to $(srcdir) -DOC_SOURCE_DIR=../../../gobject +DOC_SOURCE_DIR=$(top_srcdir)/gobject # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \