mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 08:49:12 +00:00
Don't build/install fwupdagent man page if agent build is not requested
Otherwise build fails with: src/meson.build:196:2: ERROR: Unknown variable "fwupdagent". Gentoo-bug: https://bugs.gentoo.org/711682 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
parent
c8bae2a68c
commit
bacd3a44fe
@ -193,6 +193,7 @@ if build_daemon and get_option('man')
|
||||
install : true,
|
||||
install_dir : join_paths(mandir, 'man1'),
|
||||
)
|
||||
if get_option('agent')
|
||||
custom_target('fwupdagent-man',
|
||||
input : fwupdagent,
|
||||
output : 'fwupdagent.1',
|
||||
@ -208,6 +209,7 @@ if build_daemon and get_option('man')
|
||||
install_dir : join_paths(mandir, 'man1'),
|
||||
)
|
||||
endif
|
||||
endif
|
||||
if get_option('man')
|
||||
custom_target('fwupdtool-man',
|
||||
input : fwupdtool,
|
||||
|
Loading…
Reference in New Issue
Block a user