summaryrefslogtreecommitdiff
path: root/docs/man/meson.build
blob: 42aca7d90d80d113fe7ff487ea1dae5a38ca00e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# SPDX-License-Identifier: GPL-2
# Copyright (C) 2019 - 2021 IƱigo Martinez <inigomartinez@gmail.com>

mans = [
  ['qmicli', [help2man, '--output=@OUTPUT@', '--name=Control QMI devices', '--help-option="--help-all"', qmicli]],
  ['qmi-network', [help2man, '--output=@OUTPUT@', '--name=Simple network management of QMI devices', qmi_network]],
  ['qmi-firmware-update', [help2man, '--output=@OUTPUT@', '--name=Update firmware in QMI devices', qmi_firmware_update]],
]

foreach man: mans
  custom_target(
    man[0],
    output: man[0] + '.1',
    command: man[1],
    install: true,
    install_dir: join_paths(qmi_mandir, 'man1'),
  )
endforeach