=?utf-8?q?=5Btotem-pl-parser=5D_docs=3A_Fix_builddir_=E2=89=A0_srcdir_doc?= =?utf-8?q?umentation_builds?=



commit 4a044c149cc8e1e54e829eda7f2ccc4cbdd4908f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Dec 21 11:36:54 2011 +0000

    docs: Fix builddir â srcdir documentation builds

 docs/reference/Makefile.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index dced8da..4a3bb79 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=../../plparse
+DOC_SOURCE_DIR="$(abs_top_srcdir)/plparse"
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -100,8 +100,6 @@ SCANOBJ_FILES += $(DOC_MODULE).types
 EXTRA_DIST += version.xml.in
 
 if ENABLE_GTK_DOC
-TESTS_ENVIRONMENT = \
-  DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
-  cd $(srcdir) &&
+TESTS_ENVIRONMENT = cd $(builddir) &&
 TESTS = $(GTKDOC_CHECK)
 endif



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