mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 14:05:22 +08:00
0cf061183e
Pass the same parameters Lintian uses in Debian. $ make check <...> Checking manpages for syntax errors... <standard input>:48: warning: macro `Q' not defined Error in tc-taprio.8 Makefile:27: recipe for target 'check' failed Signed-off-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
19 lines
376 B
Makefile
19 lines
376 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
MAN3PAGES = $(wildcard *.3)
|
|
|
|
all:
|
|
|
|
distclean: clean
|
|
|
|
clean:
|
|
|
|
install:
|
|
$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man3
|
|
$(INSTALLMAN) $(MAN3PAGES) $(DESTDIR)$(MANDIR)/man3
|
|
|
|
check:
|
|
@for page in $(MAN3PAGES); do test 0 -eq $$($(MAN_CHECK) $$page \
|
|
$(MAN_REDIRECT)) || { echo "Error in $$page"; exit 1; }; done
|
|
|
|
.PHONY: install clean distclean check
|