[gnome-calculator] Allow disable GCalc and/or GCi documentation generation and install



commit e805301de331695408a072cf29170bf0f9087bdb
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Jun 27 20:20:10 2022 -0500

    Allow disable GCalc and/or GCi documentation generation and install

 meson.build       | 3 +++
 meson_options.txt | 1 +
 2 files changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 006a2b2e..29b8c541 100644
--- a/meson.build
+++ b/meson.build
@@ -112,5 +112,8 @@ subdir('help')
 endif
 endif
 
+if get_option('doc')
 subdir('doc')
+endif
+
 subdir('tests')
diff --git a/meson_options.txt b/meson_options.txt
index cdaa724e..d824876f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -7,3 +7,4 @@ option('development', type: 'boolean', value: false, description: 'If this is a
 option('gcalc', type: 'boolean', value: true, description: 'Build GCalc library')
 option('gci', type: 'boolean', value: true, description: 'Build GCalc UI library')
 option('app', type: 'boolean', value: true, description: 'Build GNOME Calculator Application')
+option('doc', type: 'boolean', value: true, description: 'Build GCalc and/or GCi documentation')


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