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_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(