[gupnp-dlna] Fix out-of-srcdir build when --enable-gtk-doc is used.



commit 95b4a5dd4d2dc2ec496045b6e4f63f37ec5b2e14
Author: Krzesimir Nowak <krnowak openismus com>
Date:   Tue Dec 18 11:50:14 2012 +0100

    Fix out-of-srcdir build when --enable-gtk-doc is used.
    
    Gtk-doc docs about DOC_SOURCE_DIR are misleading.

 doc/gupnp-dlna-metadata/Makefile.am |    2 +-
 doc/gupnp-dlna/Makefile.am          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/doc/gupnp-dlna-metadata/Makefile.am b/doc/gupnp-dlna-metadata/Makefile.am
index 231c3b6..edfce0b 100644
--- a/doc/gupnp-dlna-metadata/Makefile.am
+++ b/doc/gupnp-dlna-metadata/Makefile.am
@@ -18,7 +18,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
 # 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=../../libgupnp-dlna/metadata
+DOC_SOURCE_DIR=$(srcdir)/../../libgupnp-dlna/metadata
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
diff --git a/doc/gupnp-dlna/Makefile.am b/doc/gupnp-dlna/Makefile.am
index 41ca40c..d452e8f 100644
--- a/doc/gupnp-dlna/Makefile.am
+++ b/doc/gupnp-dlna/Makefile.am
@@ -18,7 +18,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
 # 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=../../libgupnp-dlna
+DOC_SOURCE_DIR=$(srcdir)/../../libgupnp-dlna
 
 # 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]