qulogic/libgnt

Add an option for disabling docs.

2019-10-15, Elliott Sales de Andrade
11b8909ec287
Parents 75e4462381d5
Children 88c07b4791fa
Add an option for disabling docs.
--- a/meson.build Sat Oct 12 19:01:41 2019 -0500
+++ b/meson.build Tue Oct 15 23:03:28 2019 -0400
@@ -270,4 +270,6 @@
subdir('wms')
subdir('test')
-subdir('doc')
+if get_option('doc')
+ subdir('doc')
+endif
--- a/meson_options.txt Sat Oct 12 19:01:41 2019 -0500
+++ b/meson_options.txt Tue Oct 15 23:03:28 2019 -0400
@@ -1,2 +1,5 @@
+option('doc', type : 'boolean', value : true,
+ description : 'build documentation with gtk-doc')
+
option('introspection', type : 'boolean', value : true,
description : 'build introspection data')