summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-12-21 11:04:03 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2011-12-21 11:04:03 +0000
commit6d073979c12c5f36ccefb18d411e137c9ea475d9 (patch)
tree743460ffebbac445cad2a181af7ded6eb2fd1ced /docs
parent0479688c2464ef2d48e56ac69ba4f2c3304ec6b8 (diff)
downloadtotem-6d073979c12c5f36ccefb18d411e137c9ea475d9.tar.gz
docs: Fix builddir ≠ srcdir documentation builds
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 2dda5c1d7..49f9ffde7 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