From 3ad36435efda31a399db7df2082c3e3439622397 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 12 Jun 2009 00:12:33 +0200 Subject: [PATCH] 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(+) diff --git a/help/reference/libdocument/Makefile.am b/help/reference/libdocument/Makefile.am index fd3a7111..c5d3e6d4 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 9adbe24b..232cde73 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 a8d66711..00eb73b8 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= -- 2.43.5