summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-03-07 11:59:24 +0000
committerDaniel P. Berrange <berrange@redhat.com>2012-03-12 15:44:23 +0000
commit4411a07f5d4572c5650d367b1695be8bebe3f5a9 (patch)
treef983abc490a854b44bc8517242d20dc11310e3c7 /docs
parent7d0978551af86e7f3ec82b75af2f0e5ef6062e35 (diff)
Fix generation of docs in a VPATH builder
The DOC_SOURCE_DIR variable was missing the $(top_srcdir) variable so it could not find the source files when run from a VPATH build. Empirically the previous comment saying that $(top_srcdir) was not needed is wrong.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 0098d68..c7f4c7b 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -3,9 +3,7 @@ DOC_MODULE=Libosinfo
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-# Must not use $(top_srcdir) since gtkdoc-scan runs
-# from the srcdir already, not the builddir
-DOC_SOURCE_DIR=../../osinfo
+DOC_SOURCE_DIR=$(top_srcdir)/osinfo
SCANGOBJ_OPTIONS=