Skip to contentSkip to conversation

tools/perf: Allow skipping documentation when installing

PATCH New Charlie Jenkins 1 participant 1 message Apr 17, 2025 perf events

lore
Share & tools
lore
#0 lore raw

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.

---
 tools/perf/Documentation/Makefile | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/Documentation/Makefile +2 -0
index 4407b106d9772b32c5c4feed5a39442678679d62..d6ee0e06f0be19880d10e5a6faa8d0319d09c55f 100644
@@ -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