trivial: only install fwupdagent man page if compat_cli set

This commit is contained in:
Mario Limonciello 2023-02-21 10:10:50 -06:00
parent 9152f9e94c
commit c31a6b5583

View File

@ -254,6 +254,7 @@ if get_option('man')
install: true, install: true,
install_dir: join_paths(mandir, 'man1'), install_dir: join_paths(mandir, 'man1'),
) )
if get_option('compat_cli')
configure_file( configure_file(
input: 'fwupdagent.1', input: 'fwupdagent.1',
output: 'fwupdagent.1', output: 'fwupdagent.1',
@ -262,6 +263,7 @@ if get_option('man')
install_dir: join_paths(mandir, 'man1'), install_dir: join_paths(mandir, 'man1'),
) )
endif endif
endif
if build_standalone if build_standalone
configure_file( configure_file(
input: 'fwupdtool.1', input: 'fwupdtool.1',