2017-11-25 04:21:35 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2012-03-02 00:45:45 +08:00
|
|
|
INSTALL=install
|
|
|
|
INSTALLDIR=install -m 0755 -d
|
|
|
|
INSTALLMAN=install -m 0644
|
2019-01-12 20:28:56 +08:00
|
|
|
# Pass the same parameters as Lintian uses on Debian.
|
|
|
|
MAN_CHECK=LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings \
|
|
|
|
--encoding=UTF-8 --local-file --troff-device=utf8 --ditroff
|
|
|
|
# Hide man output, count and print errors.
|
|
|
|
MAN_REDIRECT=2>&1 >/dev/null | tee /dev/fd/2 | wc -l
|
2012-03-02 00:45:45 +08:00
|
|
|
|
2013-01-11 14:56:28 +08:00
|
|
|
SUBDIRS = man3 man7 man8
|
2012-03-02 00:45:45 +08:00
|
|
|
|
2019-01-12 20:28:56 +08:00
|
|
|
all clean install check:
|
2013-01-11 14:56:29 +08:00
|
|
|
@for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir $@ || exit $$?; done
|
2012-03-02 00:45:45 +08:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
2019-01-12 20:28:56 +08:00
|
|
|
.PHONY: install clean distclean check
|
2012-03-02 00:45:45 +08:00
|
|
|
|
|
|
|
.EXPORT_ALL_VARIABLES:
|