tools/perf: Allow skipping documentation when installing
PATCH 1/1 tools/perf: Allow skipping documentation when installing
If an enviornment variable NO_DOCS is set to 1, documentation will be skipped when installing perf.
Signed-off-by Charlie Jenkins <[email protected]>
--- tools/perf/Documentation/Makefile | 2 ++ 1 file changed, 2 insertions(+)
tools/perf/Documentation/Makefile +2 -0
@@ -203,6 +203,8 @@ install-man: check-man-tools man do-install-man ifdef missing_tools DO_INSTALL_MAN = $(warning Please install $(missing_tools) to have the man pages installed) +else ifeq ($(NO_DOCS),1) + DO_INSTALL_MAN = $(warning man pages will not be installed because NO_DOCS is defined) else DO_INSTALL_MAN = do-install-man endif
---
base-commit: 1741189d843a1d5ef38538bc52a3760e2e46cb2e
change-id: 20250417-allow_skipping_docs_perf-fa23bb4659ae
Signature · 1 line
- Charlie