Fix document generation in out of tree builds
authorSjoerd Simons <sjoerd@luon.net>
Fri, 21 Oct 2011 13:40:56 +0000 (15:40 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2011 00:40:35 +0000 (20:40 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=662390

docs/reference/glib/Makefile.am
docs/reference/gobject/Makefile.am

index 72bfc81..b9a305e 100644 (file)
@@ -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"
index a326f81..d387014 100644 (file)
@@ -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" \