[libmediaart/api-cleanup: 15/16] docs: Fixed Makefile so we don't fail on distcheck with --enable-gtk-doc
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart/api-cleanup: 15/16] docs: Fixed Makefile so we don't fail on distcheck with --enable-gtk-doc
- Date: Mon, 28 Jul 2014 08:20:27 +0000 (UTC)
commit 92cb3a327c65c0ba6c9d28b01116ef01a54903c0
Author: Martyn Russell <martyn lanedo com>
Date: Mon Jul 28 09:12:57 2014 +0100
docs: Fixed Makefile so we don't fail on distcheck with --enable-gtk-doc
Use $top_srcdir, not relative links
docs/reference/libmediaart/Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/libmediaart/Makefile.am b/docs/reference/libmediaart/Makefile.am
index 60ab37f..6424e10 100644
--- a/docs/reference/libmediaart/Makefile.am
+++ b/docs/reference/libmediaart/Makefile.am
@@ -15,14 +15,14 @@ SCAN_OPTIONS=
# SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)"
# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../../libmediaart
+DOC_SOURCE_DIR=$(top_srcdir)/libmediaart
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/libmediaart/*.h
CFILE_GLOB=$(top_srcdir)/libmediaart/*.c
# Header files to ignore when scanning
-IGNORE_HFILES=
+IGNORE_HFILES=$(top_srcdir)/libmediaart/storage.h
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
@@ -49,7 +49,10 @@ expand_content_files =
HTML_IMAGES =
# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS=
+FIXXREF_OPTIONS=\
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio
include $(top_srcdir)/gtk-doc.make
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]