=?utf-8?q?=5Btotem=5D_docs=3A_Fix_builddir_=E2=89=A0_srcdir_documentation?= =?utf-8?q?_builds?=



commit 6d073979c12c5f36ccefb18d411e137c9ea475d9
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Dec 21 11:04:03 2011 +0000

    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 2dda5c1..49f9ffd 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=../../src
+DOC_SOURCE_DIR="$(abs_top_srcdir)/src"
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -146,7 +146,7 @@ include $(top_srcdir)/gtk-doc.make
 EXTRA_DIST += version.xml.in
 
 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]