diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-03-31 14:55:26 +0200 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-03-31 15:11:15 +0200 |
commit | 030a5bcba951be114878f82f584f9996cae2ae69 (patch) | |
tree | f0be3266d0e59604486f5a5ce0e061985e05e8cc /docs | |
parent | d4b67b62ab217d191b44bd13b53d98b65be81adf (diff) | |
download | gnome-contacts-030a5bcba951be114878f82f584f9996cae2ae69.tar.gz |
Documentation: auto-build the valadoc docs.
We won't them by defaul though, you have to explicitly set 'docs' to
true when configuring meson.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meson.build | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build new file mode 100644 index 0000000..4a77608 --- /dev/null +++ b/docs/meson.build @@ -0,0 +1,26 @@ +custom_target('docs', + input: contacts_vala_sources, + output: 'docs', + command: [ valadoc, + '--doclet=html', + '--force', + '--package-name=@0@'.format(meson.project_name()), + '--package-version=@0@'.format(meson.project_version()), + '--pkg=glib-2.0', + '--pkg=gio-2.0', + '--pkg=gio-unix-2.0', + '--pkg=gtk+-3.0', + '--pkg=gnome-desktop-3.0', + '--pkg=gee-0.8', + '--pkg=goa-1.0', + '--pkg=folks', + '--pkg=folks-eds', + '--pkg=libedataserverui-1.2', + '--pkg=custom', + '--pkg=config', + '--vapidir=@0@'.format(join_paths(meson.source_root(), 'vapi')), + '--directory=@OUTDIR@', + contacts_vala_sources, + ], + build_by_default: true, +) |