diff options
| author | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
| commit | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (patch) | |
| tree | 2dd55c4ab0fdcbe9cddb26adb4a554b1a45c73c8 /docs/api/meson.build | |
| parent | 7e9ff09fcb2366b383b7ebbec80d2f6fff117290 (diff) | |
New upstream version 1.11.3 upstream/1.11.3
Diffstat (limited to 'docs/api/meson.build')
| -rw-r--r-- | docs/api/meson.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/api/meson.build b/docs/api/meson.build new file mode 100644 index 00000000..d0cc3ac8 --- /dev/null +++ b/docs/api/meson.build @@ -0,0 +1,31 @@ +doc_module = nm_name + +settings = 'settings-spec' +output = settings + '.xml' + +if enable_introspection + settings_xml = custom_target( + output, + input: nm_settings_docs, + output: output, + command: [xsltproc, '--output', '@OUTPUT@', join_paths(meson.current_source_dir(), settings + '.xsl'), '@INPUT@'], + # FIXME: there is no target depending on this, so it will not be built + build_by_default: true + ) +endif + +configure_file( + input: version_xml + '.in', + output: version_xml, + configuration: version_conf +) + +content_files += join_paths(meson.source_root(), 'COPYING') + +gnome.gtkdoc( + doc_module, + main_xml: 'network-manager-docs.xml', + src_dir: meson.current_source_dir(), + content_files: content_files, + install: true +) |