diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-08-02 16:19:37 +0200 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2017-08-11 17:02:43 +0200 |
commit | 92b1faa10bb7431694b799733c5ff672d2f62a70 (patch) | |
tree | de34e651bcc4348c1d6364713372274936110d40 /docs/reference/libgnome-bluetooth | |
parent | 7cd3120bbf29612791b2561aa66d5c634690a153 (diff) | |
download | gnome-bluetooth-92b1faa10bb7431694b799733c5ff672d2f62a70.tar.gz |
build: Port to meson build system
https://bugzilla.gnome.org/show_bug.cgi?id=785737
Diffstat (limited to 'docs/reference/libgnome-bluetooth')
-rw-r--r-- | docs/reference/libgnome-bluetooth/Makefile.am | 2 | ||||
-rw-r--r-- | docs/reference/libgnome-bluetooth/meson.build | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/docs/reference/libgnome-bluetooth/Makefile.am b/docs/reference/libgnome-bluetooth/Makefile.am index 59a5eb44..8d57b308 100644 --- a/docs/reference/libgnome-bluetooth/Makefile.am +++ b/docs/reference/libgnome-bluetooth/Makefile.am @@ -90,7 +90,7 @@ include $(top_srcdir)/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in -EXTRA_DIST += version.xml.in +EXTRA_DIST += version.xml.in meson.build # Files not to distribute # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types diff --git a/docs/reference/libgnome-bluetooth/meson.build b/docs/reference/libgnome-bluetooth/meson.build new file mode 100644 index 00000000..0ce31a61 --- /dev/null +++ b/docs/reference/libgnome-bluetooth/meson.build @@ -0,0 +1,44 @@ +private_headers = [ + 'bluetooth-agent.h', + 'bluetooth-chooser-private.h', + 'bluetooth-client-glue.h', + 'bluetooth-client-private.h', + 'bluetooth-fdo-glue.h', + 'bluetooth-settings-obexpush.h', + 'bluetooth-settings-row.h', + 'gnome-bluetooth-enum-types.h' +] + +version_conf = configuration_data() +version_conf.set('VERSION', gnomebt_version) + +version_xml = 'version.xml' + +configure_file( + input: version_xml + '.in', + output: version_xml, + configuration: version_conf +) + +doc_path = join_paths(gnomebt_datadir, 'gtk-doc', 'html', meson.project_name()) + +gnome.gtkdoc( + meson.project_name(), + main_sgml: meson.project_name() + '-docs.sgml', + src_dir: [ + top_inc, + lib_inc + ], + dependencies: libgnome_bluetooth_dep, + scan_args: [ + '--rebuild-types', + '--ignore-headers=' + ' '.join(private_headers), + ], + mkdb_args: [ + '--sgml-mode', + '--output-format=xml' + ], + gobject_typesfile: meson.project_name() + '.types', + install: true, + install_dir: doc_path +) |