Lines Matching +full:man +full:- +full:pages
1 # SPDX-License-Identifier: GPL-2.0-only
4 RM ?= rm -f
5 RMDIR ?= rmdir --ignore-fail-on-non-empty
8 MANDIR ?= $(PREFIX)/man
16 RST2MAN_DEP := $(shell command -v rst2man 2>/dev/null)
17 RST2MAN_OPTS += --verbose
19 TEST_RST2MAN = $(shell sh -c "rst2man --version > /dev/null 2>&1 || echo n")
27 $(info ** distribution, e.g., 'dnf install python3-docutils' on Fedora,)
33 $(error NOTICE: rst2man required to generate man pages)
38 man: man1 target
43 install: man
44 $(INSTALL) -d -m 755 $(DESTDIR)$(MAN1DIR)
45 $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(MAN1DIR)
51 .PHONY: man man1 clean install uninstall
52 .DEFAULT_GOAL := man