From 385798c89fe00a2e7d36d8db530fdc5cb4e700dc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 29 Apr 2015 14:04:26 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am index 9ae13fb4fd..f294bb2c59 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 \