[gtk+] Fix inclusion of examples in docs in non-srcdir builds
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix inclusion of examples in docs in non-srcdir builds
- Date: Wed, 29 Apr 2015 18:17:08 +0000 (UTC)
commit f5d7c5fef357bb60488cef41088fa75f93715d63
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 b3f6dbd..7e7cd5a 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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]