From: Alexander Shursha Date: Thu, 28 Nov 2024 09:01:12 +0000 (+0300) Subject: meson: add checking build-cal X-Git-Tag: v2.42-start~131^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6dbd6d3ba476da7638e52e3f8742f5594f6f894;p=thirdparty%2Futil-linux.git meson: add checking build-cal Sponsored by: Future Crew, LLC --- diff --git a/meson.build b/meson.build index fc2a4588d..14ae9b223 100644 --- a/meson.build +++ b/meson.build @@ -2762,6 +2762,7 @@ if opt and not is_disabler(exe) manadocs += ['login-utils/sulogin.8.adoc'] endif +opt = not get_option('build-cal').disabled() exe = executable( 'cal', cal_sources, @@ -2770,10 +2771,13 @@ exe = executable( lib_tcolors], dependencies : [curses_libs], install_dir : usrbin_exec_dir, - install : true) -exes += exe -manadocs += ['misc-utils/cal.1.adoc'] -bashcompletions += ['cal'] + install : opt, + build_by_default : opt) +if opt and not is_disabler(exe) + exes += exe + manadocs += ['misc-utils/cal.1.adoc'] + bashcompletions += ['cal'] +endif opt = not get_option('build-logger').disabled() exe = executable(