summaryrefslogtreecommitdiff
path: root/doc/reference/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/meson.build')
-rw-r--r--doc/reference/meson.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/reference/meson.build b/doc/reference/meson.build
new file mode 100644
index 0000000..6805b3c
--- /dev/null
+++ b/doc/reference/meson.build
@@ -0,0 +1,30 @@
+ignore_headers = [
+ 'eom-image-private.h',
+ 'eom-image-jpeg.h',
+ 'eom-marshal.h',
+ 'eom-application-service.h',
+ 'eom-enum-types.h',
+]
+
+if not exif.found()
+ ignore_headers += [
+ 'eom-exif-util.h',
+ 'eom-metadata-details.h',
+ ]
+endif
+
+sgml = configure_file(input: 'eom-docs.sgml.in', configuration: pkg_info, output: 'eom-docs.sgml')
+versionsxml = configure_file(input: 'version.xml.in', configuration: pkg_info, output: 'version.xml')
+
+gnome.gtkdoc(
+ 'eom',
+ src_dir: src_inc,
+ include_directories: include_dirs,
+ main_sgml: 'eom-docs.sgml.in',
+ scan_args: ['--rebuild-types'],
+ mkdb_args: ['--sgml-mode', '--output-format=xml'],
+ ignore_headers: ignore_headers,
+ content_files: [versionsxml],
+ dependencies: [all_deps, libeom],
+ install: true,
+)