[gexiv2/wip/0.12: 5/6] Update meson docs



commit 364b9ed693ed1c85961551fa9945909f8f84daf3
Author: Jens Georg <mail jensge org>
Date:   Sun Dec 24 15:56:56 2017 +0100

    Update meson docs

 meson.build       |    6 +++---
 meson_options.txt |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6edf5cc..1f6bfab 100644
--- a/meson.build
+++ b/meson.build
@@ -9,12 +9,12 @@ gir = find_program('g-ir-scanner', required: false)
 vapigen = find_program('vapigen', required: false)
 vala = find_program('valac', required: false)
 
-introspection_available = gir.found() and not get_option('disable-introspection')
-vapi_available = introspection_available and vapigen.found() and not get_option('disable-vala')
+introspection_available = gir.found() and get_option('introspection')
+vapi_available = introspection_available and vapigen.found() and get_option('vapi')
 
 subdir('gexiv2')
 
-if get_option('enable-gtk-doc')
+if get_option('docs')
   subdir('docs')
 endif
 
diff --git a/meson_options.txt b/meson_options.txt
index 0eab157..8683518 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,5 @@
-option('enable-gtk-doc', type: 'boolean', value: false, description: 'Enable generating the API reference 
(depends on GTK-Doc)')
-option('disable-introspection', type: 'boolean', value : false, description: 'Disable GObject Introspection')
-option('disable-vala', type: 'boolean', value: false, description: 'Disable generation of vala vapi file')
+option('docs', type: 'boolean', value: false, description: 'Enable or disable generating the API reference 
(depends on GTK-Doc)')
+option('introspection', type: 'boolean', value : true, description: 'Enable or disable GObject 
Introspection')
+option('vapi', type: 'boolean', value: true, description: 'Enable or disable generation of vala vapi file')
 option('python2-girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject2 
overrides')
 option('python3-girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject3 
overrides')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]