summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2014-12-19 23:46:12 -0800
committerGarrett Regier <garrettregier@gmail.com>2014-12-20 00:36:27 -0800
commit62d0024bf3839ebe2665ac3019a57d66d097b592 (patch)
treec7faeeaeee6b0ad8d078e7a8d946f43867f8ec90 /docs
parent7e0cf451873af2a2300eabc88e769f617a58afdf (diff)
downloadlibpeas-62d0024bf3839ebe2665ac3019a57d66d097b592.tar.gz
Fix cross references in docs
This approach is copied from Gtk+.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index a0c134c..45e3f90 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -30,9 +30,16 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
MKTMPL_OPTIONS=
+if ENABLE_DOC_CROSS_REFERENCES
# 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=
+FIXXREF_OPTIONS = \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gmodule \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
+ --extra-dir=$(GTK_PREFIX)/share/gtk-doc/html/gtk
+endif
# Used for dependencies. The docs will be rebuilt if any of these change.
HFILE_GLOB = \
@@ -44,7 +51,7 @@ CFILE_GLOB = \
$(top_srcdir)/libpeas-gtk/*.c
# Header files to ignore when scanning (These are internal to libpeas).
-IGNORE_HFILES= \
+IGNORE_HFILES = \
peas-debug.h \
peas-dirs.h \
peas-engine-priv.h \