summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2018-10-25 23:40:02 +0200
committerJens Georg <mail@jensge.org>2018-10-26 00:09:55 +0200
commitb953e588a3103b5e6a4174f8dba6a2a7a4afdf10 (patch)
tree9c9bd75a24a7effdec95dfb6b66e0879f792f6ee /doc
parentb0e5ced295ebca431688373d73d02b44508daaca (diff)
downloadgupnp-av-b953e588a3103b5e6a4174f8dba6a2a7a4afdf10.tar.gz
Add meson build files
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/meson.build b/doc/meson.build
new file mode 100644
index 0000000..50942f3
--- /dev/null
+++ b/doc/meson.build
@@ -0,0 +1,33 @@
+conf = configuration_data()
+conf.set('VERSION', meson.project_version())
+
+version_xml = configure_file(
+ input : 'version.xml.in',
+ output : 'version.xml',
+ configuration: conf
+)
+
+gnome.gtkdoc(
+ 'gupnp-av',
+ src_dir : [
+ join_paths(meson.source_root(), 'libgupnp-av'),
+ join_paths(meson.build_root(), 'libgupnp-av'),
+ ],
+ main_sgml : 'gupnp-av-docs.sgml',
+ content_files : version_xml,
+ scan_args : ['--deprecated-guards=GUPNP_DISABLE_DEPRECATED'],
+ mkdb_args : ['--sgml-mode', '--output-format=xml'],
+ dependencies : gupnp_av,
+ ignore_headers : [
+ 'xml-util.h',
+ 'xsd-data.h',
+ 'fragment-util.h',
+ 'gvalue-util.h',
+ 'gupnp-av-marshal.h',
+ 'gunpp-didl-lite-contributor-private.h',
+ 'gupnp-didl-lite-descriptior-private.h',
+ 'gupnp-didl-lite-object-private.h',
+ 'gupnp-didl-lite-resource-private.h'
+ ],
+ install : true
+)