[gssdp/wip/meson: 8/17] meson: Add gtkdoc



commit ab94c535e14b50b1cd9da2eb375df7df4e845631
Author: Jens Georg <mail jensge org>
Date:   Fri Oct 26 16:43:41 2018 +0200

    meson: Add gtkdoc

 doc/meson.build | 12 ++++++++++++
 meson.build     |  1 +
 2 files changed, 13 insertions(+)
---
diff --git a/doc/meson.build b/doc/meson.build
new file mode 100644
index 0000000..f728daa
--- /dev/null
+++ b/doc/meson.build
@@ -0,0 +1,12 @@
+entities = configuration_data()
+entities.set('VERSION', meson.project_version())
+configure_file(input: 'version.xml.in',
+               output: 'version.xml', configuration:
+               entities)
+
+gnome.gtkdoc('gssdp',
+             main_xml : 'gssdp-docs.xml',
+             src_dir : [join_paths(meson.source_root(), 'libgssdp'),
+                        join_paths(meson.build_root(), 'libgssdp')],
+             dependencies : libgssdp,
+             install : true)
diff --git a/meson.build b/meson.build
index 7c9d3d3..11603d6 100644
--- a/meson.build
+++ b/meson.build
@@ -87,3 +87,4 @@ if (gtk.found())
   subdir('tools')
 endif
 subdir('vala')
+subdir('doc')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]