Debian Codegraph @

docs/man/meson.build

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Copyright (C) 2021 IƱigo Martinez <[email protected]>
3
4 help2man = find_program('help2man')
5
6 mans = [
7 ['mbimcli', [help2man, '--output=@OUTPUT@', '--name=Control MBIM devices', '--help-option="--help-all"', mbimcli], [mbimcli_sources]],
8 ['mbim-network', [help2man, '--output=@OUTPUT@', '--name=Simple network management of MBIM devices', mbim_network], []],
9 ]
10
11 foreach man: mans
12 custom_target(
13 man[0],
14 output: man[0] + '.1',
15 command: man[1],
16 depend_files: man[2],
17 install: true,
18 install_dir: mbim_mandir / 'man1',
19 )
20 endforeach