This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 07ac697db820a3e13b06c4d66829eed213eef5cb
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sun Oct 15 13:42:40 2023 +0100

    add docs option to build - allow it to be explicitly on or off
---
 meson.build       | 8 +++++---
 meson_options.txt | 6 ++++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index 61f35381a9..018fe7022a 100644
--- a/meson.build
+++ b/meson.build
@@ -618,9 +618,11 @@ foreach evas_loader_map_inst : evas_loader_map
   meson.add_install_script('meson/evas_loader_conf.sh', evas_loader_original, evas_loader_link_types)
 endforeach
 
-doxygen = find_program('doxygen', required : false)
-
-if doxygen.found()
+doxygen = find_program('doxygen', required : get_option('docs'))
+if get_option('docs')
+  if not doxygen.found()
+    error('Need doxygen for docs')
+  endif
   subdir('doc')
 endif
 
diff --git a/meson_options.txt b/meson_options.txt
index b87aa6988f..1639a8879f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -382,3 +382,9 @@ option('max-fd-size',
   value : '8192',
   description : 'This is the maximim set of fds and thus maximum fd value allowed +1 in the ecore main loop handler'
 )
+
+option('docs',
+  type: 'boolean',
+  value: false,
+  description: 'Enable building C of documentation (Requires doxygen)'
+)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to