[virt-tools-list] [PATCH libosinfo] Fix generation of docs in a VPATH builder

Daniel P. Berrange berrange at redhat.com
Wed Mar 7 12:00:00 UTC 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

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.
---
 docs/reference/Makefile.am |    4 +---
 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=
 
-- 
1.7.7.6




More information about the virt-tools-list mailing list