diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-10-27 07:30:09 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2019-01-07 10:43:11 -0500 |
commit | 8d6176451f9d7cd4d6660185c679733aee3b57ea (patch) | |
tree | 751030229c61e301c9179152d77bf0ea4200fe42 | |
parent | 461edcc8cd6dc1c4efeb09aaaba02459293546f2 (diff) | |
download | json-glib-8d6176451f9d7cd4d6660185c679733aee3b57ea.tar.gz |
Rename 'docs' option to 'gtk_doc'
-rw-r--r-- | doc/meson.build | 2 | ||||
-rw-r--r-- | meson_options.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/meson.build b/doc/meson.build index 901a698..43e110f 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,4 +1,4 @@ -if get_option('docs') +if find_program('gtkdoc-scan', required : get_option('gtk_doc')).found() subdir('xml') private_headers = [ diff --git a/meson_options.txt b/meson_options.txt index aba8129..a6b2a51 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,8 +1,8 @@ option('introspection', type: 'feature', value: 'auto', yield: true, description: 'Build the introspection data (requires gobject-introspection)') -option('docs', - type: 'boolean', value: false, +option('gtk_doc', + type: 'feature', value: 'auto', yield: true, description: 'Build the API reference (requires gtk-doc)') option('man', type: 'boolean', value: false, |