[evince] Fix docs build when srcdir != builddir



commit 3ad36435efda31a399db7df2082c3e3439622397
Author: Christian Persch <chpe gnome org>
Date:   Fri Jun 12 00:12:33 2009 +0200

    Fix docs build when srcdir != builddir

 help/reference/libdocument/Makefile.am |    3 +++
 help/reference/libview/Makefile.am     |    3 +++
 help/reference/shell/Makefile.am       |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/help/reference/libdocument/Makefile.am b/help/reference/libdocument/Makefile.am
index fd3a711..c5d3e6d 100644
--- a/help/reference/libdocument/Makefile.am
+++ b/help/reference/libdocument/Makefile.am
@@ -35,6 +35,9 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
 MKTMPL_OPTIONS=
 
+# Add the builddir to the HTML path so that version.xml is found
+MKHTML_OPTIONS=--path="$(abs_builddir)"
+
 # Extra options to supply to gtkdoc-fixref. Not normally needed.
 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
 FIXXREF_OPTIONS=
diff --git a/help/reference/libview/Makefile.am b/help/reference/libview/Makefile.am
index 9adbe24..232cde7 100644
--- a/help/reference/libview/Makefile.am
+++ b/help/reference/libview/Makefile.am
@@ -35,6 +35,9 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
 MKTMPL_OPTIONS=
 
+# Add the builddir to the HTML path so that version.xml is found
+MKHTML_OPTIONS=--path="$(abs_builddir)"
+
 # Extra options to supply to gtkdoc-fixref. Not normally needed.
 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
 FIXXREF_OPTIONS=
diff --git a/help/reference/shell/Makefile.am b/help/reference/shell/Makefile.am
index a8d6671..00eb73b 100644
--- a/help/reference/shell/Makefile.am
+++ b/help/reference/shell/Makefile.am
@@ -35,6 +35,9 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
 MKTMPL_OPTIONS=--source-dir=../../../libmisc
 
+# Add the builddir to the HTML path so that version.xml is found
+MKHTML_OPTIONS=--path="$(abs_builddir)"
+
 # Extra options to supply to gtkdoc-fixref. Not normally needed.
 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
 FIXXREF_OPTIONS=



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