[libgdata] docs: Fix builddir ≠ srcdir documentation builds



commit 025a6544787772ba2dcb86bf40c21e5abdf83762
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Jun 12 12:38:59 2011 +0100

    docs: Fix builddir â?  srcdir documentation builds

 docs/reference/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 6fd70f6..90a2380 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -18,7 +18,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
 # e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../gdata
+DOC_SOURCE_DIR="$(abs_top_srcdir)/gdata"
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -115,7 +115,7 @@ EXTRA_DIST += \
 	$(NULL)
 
 if ENABLE_GTK_DOC
-TESTS_ENVIRONMENT = cd $(srcdir) && 
+TESTS_ENVIRONMENT = cd $(builddir) &&
 TESTS = $(GTKDOC_CHECK)
 endif
 



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