Lines Matching +full:man +full:- +full:pages
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 RM ?= rm -f
6 RMDIR ?= rmdir --ignore-fail-on-non-empty
15 mandir ?= $(prefix)/man
23 man: man8 target
26 RST2MAN_DEP := $(shell command -v rst2man 2>/dev/null)
27 RST2MAN_OPTS += --verbose --strip-comments
29 list_pages = $(sort $(basename $(filter-out $(1),$(MAN8_RST))))
35 "\t**bpf-helpers**\\ (7)" \
41 $(error "rst2man not found, but required to generate man pages")
49 install: man
50 $(call QUIET_INSTALL, Documentation-man)
51 $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)
52 $(Q)$(INSTALL) -m 644 $(DOC_MAN8) $(DESTDIR)$(man8dir)
55 $(call QUIET_UNINST, Documentation-man)
59 .PHONY: man man8 clean install uninstall
60 .DEFAULT_GOAL := man