[gtk+/gtk-3-16] Fix inclusion of examples in docs in non-srcdir builds



commit 385798c89fe00a2e7d36d8db530fdc5cb4e700dc
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 29 14:04:26 2015 -0400

    Fix inclusion of examples in docs in non-srcdir builds
    
    This is a bit messy, since xsltproc insists on stripping relative
    paths to the basename before consulting the paths.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748640

 docs/reference/gtk/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index 9ae13fb..f294bb2 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -261,6 +261,8 @@ GTKDOC_LIBS = \
 # Extra options to supply to gtkdoc-mkdb
 MKDB_OPTIONS=--output-format=xml --name-space=gtk
 
+MKHTML_OPTIONS="--path=\"$(abs_srcdir):$(top_srcdir)/examples\""
+
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files =                                        \
        version.xml                             \


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