[glib] Fix document generation in out of tree builds



commit 6a81ced72d0d5dc835e53dd6ae6652a3c9de494b
Author: Sjoerd Simons <sjoerd luon net>
Date:   Fri Oct 21 15:40:56 2011 +0200

    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 72bfc81..b9a305e 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 a326f81..d387014 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" \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]