[vte/vte-0-32] Use top_srcdir/top_builddir in DOC_SOURCE_DIR



commit e8d55ffaa517910200148ed4cfd030120e9a9a9e
Author: Jason Conti <jason conti gmail com>
Date:   Thu Apr 19 18:37:10 2012 -0400

    Use top_srcdir/top_builddir in DOC_SOURCE_DIR
    
    to fix out-of-tree builds.
    
    Bug #674443.

 doc/reference/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index f250d63..8acccf9 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -19,7 +19,9 @@ 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 = \
+	$(top_srcdir)/src \
+	$(top_builddir)/src
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS =



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