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 committed by Mario Limonciello
parent a194d5317c
commit 0a106c60b3

View File

@ -254,13 +254,15 @@ if get_option('man')
install: true, install: true,
install_dir: join_paths(mandir, 'man1'), install_dir: join_paths(mandir, 'man1'),
) )
configure_file( if get_option('compat_cli')
input: 'fwupdagent.1', configure_file(
output: 'fwupdagent.1', input: 'fwupdagent.1',
configuration: conf, output: 'fwupdagent.1',
install: true, configuration: conf,
install_dir: join_paths(mandir, 'man1'), install: true,
) install_dir: join_paths(mandir, 'man1'),
)
endif
endif endif
if build_standalone if build_standalone
configure_file( configure_file(