linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/perf: Allow skipping documentation when installing
@ 2025-04-17 23:04 Charlie Jenkins
  0 siblings, 0 replies; only message in thread
From: Charlie Jenkins @ 2025-04-17 23:04 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter
  Cc: linux-perf-users, linux-kernel, Charlie Jenkins

If an enviornment variable NO_DOCS is set to 1, documentation will be
skipped when installing perf.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
---
 tools/perf/Documentation/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile
index 4407b106d9772b32c5c4feed5a39442678679d62..d6ee0e06f0be19880d10e5a6faa8d0319d09c55f 100644
--- a/tools/perf/Documentation/Makefile
+++ b/tools/perf/Documentation/Makefile
@@ -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
-- 
- Charlie


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-17 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 23:04 [PATCH] tools/perf: Allow skipping documentation when installing Charlie Jenkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).