blob: e9810f78a9c86f0d4f608c1be5b6fbfa8c9dd473 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-or-later
# 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]],
]
if enable_firmware_update
mans += [['qmi-firmware-update', [help2man, '--output=@OUTPUT@', '--name=Update firmware in QMI devices', qmi_firmware_update]]]
endif
# https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/75 was filed
# to track the build failure on cross-compilation. This can be re-enabled when
# the underlying issue is fixed
#
# foreach man: mans
# custom_target(
# man[0],
# output: man[0] + '.1',
# command: man[1],
# install: true,
# install_dir: qmi_mandir / 'man1',
# )
# endforeach