summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-04-29 14:04:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-04-29 14:16:50 -0400
commitf5d7c5fef357bb60488cef41088fa75f93715d63 (patch)
treec9c51fb4885e1fb1de051c59010e7048ae59833c /docs
parent5c1549a8c7c979e850b7c53fa21b3251e9f1a772 (diff)
downloadgtk+-f5d7c5fef357bb60488cef41088fa75f93715d63.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index b3f6dbd5bb..7e7cd5aa74 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -266,6 +266,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 \