1# SPDX-License-Identifier: GPL-2.0 2INSTALL=install 3INSTALLDIR=install -m 0755 -d 4INSTALLMAN=install -m 0644 5# Pass the same parameters as Lintian uses on Debian. 6MAN_CHECK=LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings \ 7 --encoding=UTF-8 --local-file --troff-device=utf8 --ditroff 8# Hide man output, count and print errors. 9MAN_REDIRECT=2>&1 >/dev/null | tee /dev/fd/2 | wc -l 10 11SUBDIRS = man3 man7 man8 12 13all clean install check: 14 @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir $@ || exit $$?; done 15 16distclean: clean 17 18.PHONY: install clean distclean check 19 20.EXPORT_ALL_VARIABLES: 21