[totem-pl-parser] Fix path problems when building documentation so builddir != srcdir works



commit 73fc40f8ce7a393cf1394d0d4469f6cd7bafea58
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun May 31 16:59:31 2009 +0100

    Fix path problems when building documentation so builddir != srcdir works
    
    2009-05-31  Philip Withnall  <philip tecnocode co uk>
    
            * docs/reference/Makefile.am: Add the builddir to gtkdoc-mkhtml's
            path so that builddir != srcdir builds work for the documentation.
---
 ChangeLog                  |    5 +++++
 docs/reference/Makefile.am |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d0d516e..55a69c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-31  Philip Withnall  <philip tecnocode co uk>
+
+        * docs/reference/Makefile.am: Add the builddir to gtkdoc-mkhtml's
+        path so that builddir != srcdir builds work for the documentation.
+
 ============ Version 2.27.2
 
 2009-05-06  Bastien Nocera  <hadess hadess net>
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 44a3de2..5c3c02f 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -39,6 +39,9 @@ MKTMPL_OPTIONS=
 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
 FIXXREF_OPTIONS=
 
+# Add the builddir to the HTML path so that version.xml is found
+MKHTML_OPTIONS=--path="$(abs_builddir)"
+
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c



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