summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2018-08-16 18:21:52 +0200
committerLaurent Bigonville <bigon@bigon.be>2018-08-17 16:54:33 +0200
commitb5e0bfef7afed5469973fc686a2a9619a6ad22d9 (patch)
treea5716c5eb8ea9f134bb1606c6b19110668aba266 /docs
parent10952e14ecdfcf2862f96619c5b9833c53c00432 (diff)
downloadgeoclue-b5e0bfef7afed5469973fc686a2a9619a6ad22d9.tar.gz
Fix the links between the documentation files
https://gitlab.freedesktop.org/geoclue/geoclue/issues/78
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am2
-rw-r--r--docs/lib/Makefile.am3
-rw-r--r--docs/lib/meson.build3
3 files changed, 7 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index fba721d..23895cf 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -2,7 +2,7 @@ NULL =
AUTOMAKE_OPTIONS = 1.7
-SUBDIRS = lib
+SUBDIRS = . lib
# The name of the module.
DOC_MODULE=geoclue
diff --git a/docs/lib/Makefile.am b/docs/lib/Makefile.am
index 249dffe..8b3d958 100644
--- a/docs/lib/Makefile.am
+++ b/docs/lib/Makefile.am
@@ -14,6 +14,9 @@ SCAN_OPTIONS=--ignore-headers=config.h --rebuild-types
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../libgeoclue ../../public-api
+# Extra options to supply to gtkdoc-fixref.
+FIXXREF_OPTIONS=--extra-dir=../html
+
# Used for dependencies
HFILE_GLOB=
CFILE_GLOB=
diff --git a/docs/lib/meson.build b/docs/lib/meson.build
index 6ae39ac..fbabaaf 100644
--- a/docs/lib/meson.build
+++ b/docs/lib/meson.build
@@ -10,12 +10,15 @@ scan_options = [ '--ignore-headers=config.h', '--rebuild-types' ]
mkdb_options = [ '--output-format=xml' ]
src_dir = [ 'public-api', 'libgeoclue' ]
+fixxref_options = [ '--extra-dir=../html' ]
+
gnome.gtkdoc('libgeoclue',
main_xml: 'libgeoclue-docs.xml',
content_files: content_files,
gobject_typesfile: 'libgeoclue.types',
dependencies: libgeoclue_dep,
scan_args: scan_options,
+ fixxref_args: fixxref_options,
src_dir: src_dir,
mkdb_args: mkdb_options,
install: true)