From c31a6b5583d12cc9657d86758487e1bba7c79bca Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Tue, 21 Feb 2023 10:10:50 -0600 Subject: [PATCH] trivial: only install fwupdagent man page if compat_cli set --- src/meson.build | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/meson.build b/src/meson.build index e97ee25d3..a53e6000f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -254,13 +254,15 @@ if get_option('man') install: true, install_dir: join_paths(mandir, 'man1'), ) - configure_file( - input: 'fwupdagent.1', - output: 'fwupdagent.1', - configuration: conf, - install: true, - install_dir: join_paths(mandir, 'man1'), - ) + if get_option('compat_cli') + configure_file( + input: 'fwupdagent.1', + output: 'fwupdagent.1', + configuration: conf, + install: true, + install_dir: join_paths(mandir, 'man1'), + ) + endif endif if build_standalone configure_file(