summaryrefslogtreecommitdiff
path: root/help/reference/libview/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'help/reference/libview/meson.build')
-rw-r--r--help/reference/libview/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/help/reference/libview/meson.build b/help/reference/libview/meson.build
new file mode 100644
index 00000000..cc7e546c
--- /dev/null
+++ b/help/reference/libview/meson.build
@@ -0,0 +1,31 @@
+version_conf = configuration_data()
+version_conf.set('VERSION', version)
+
+version_xml = configure_file(
+ input: 'version.xml.in',
+ output: 'version.xml',
+ configuration: version_conf,
+)
+
+libview_doc_deps = declare_dependency(
+ include_directories: [include_root, libdoc_include, libview_include, include_directories('.')],
+ link_with: libview,
+ dependencies: libdoc_deps,
+)
+
+gnome.gtkdoc(
+ 'libxreaderview',
+ mode: 'xml',
+ main_xml: 'libxreaderview-docs.xml',
+ gobject_typesfile: files('libxreaderview.types'),
+ src_dir: [
+ join_paths(meson.source_root(), 'libview'),
+ ],
+ ignore_headers: [libview_private_headers],
+ dependencies: libview_doc_deps,
+ mkdb_args: ['--xml-mode', '--output-format=xml', '--name-space=ev'],
+ cflags: '-DATRIL_COMPILATION',
+ fixxref_args: fixref_args,
+ install: true,
+ install_dir: 'libxreaderview-' + api_version,
+)