mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
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>
23 lines
473 B
Makefile
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
|