1
0
mirror of https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git synced 2026-10-24 00:48:53 +03:00
Files
libgpiod/man/Makefile.am
Bartosz Golaszewski 9595913c8f build: use AM_V_GEN when calling external programs
In order to output a status line in silent mode and the whole command in
default mode, use the AM_V_GEN predefined automake variable when executing
external programs like doxygen and help2man.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-03-27 12:09:34 +02:00

23 lines
473 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
if WITH_MANPAGES
dist_man1_MANS = \
gpiodetect.man \
gpioinfo.man \
gpioget.man \
gpioset.man \
gpiomon.man \
gpionotify.man
%.man: $(top_builddir)/tools/$(*F)
$(AM_V_GEN)help2man $(top_builddir)/tools/$(*F) --include=$(srcdir)/template --output=$(builddir)/$@ --no-info
clean-local:
rm -f $(dist_man1_MANS)
endif
EXTRA_DIST = template