[gnome-calculator] GCalc: Fix build doc when disabling gcalc



commit ba8e98d6bb1f0b783bb04c0e2195eefd6171c065
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Jun 16 13:06:04 2022 -0500

    GCalc: Fix build doc when disabling gcalc

 doc/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/doc/meson.build b/doc/meson.build
index 0ca92e71..33f3969a 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,9 +1,9 @@
 valadoc = find_program ('valadoc', required: false)
 if valadoc.found()
-       gtkdoc_outdir = CAMEL_CASE_NAME+'-'+API_VERSION
-       docsdir = join_paths (get_option ('datadir'), 'devhelp','books')
 
 if get_option('gcalc')
+       gtkdoc_outdir = CAMEL_CASE_NAME+'-'+API_VERSION
+       docsdir = join_paths (get_option ('datadir'), 'devhelp','books')
        custom_target ('libgcalc_valadocs',
                        input : gcalc_sources,
                        output : CAMEL_CASE_NAME+'-'+API_VERSION,


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