* [PATCH] libperf: Explicitly specify install-html dependencies
@ 2024-09-15 1:34 Akihiko Odaki
2024-09-27 17:00 ` Namhyung Kim
0 siblings, 1 reply; 2+ messages in thread
From: Akihiko Odaki @ 2024-09-15 1:34 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, Akihiko Odaki
install_doc of tools/lib/perf/Makefile invokes install-man,
install-html, and install-examples of
tools/lib/perf/Documentation/Makefile at once. This invocation succeeds
when make runs in serial but can fail when make runs in parallel because
while install-man of tools/lib/perf/Documentation/Makefile depends on
all, install-html depends on nothing and can run ahead of all.
Explicitly specify the dependencies of install-html to ensure that
they are resolved before install-html.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
tools/lib/perf/Documentation/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/lib/perf/Documentation/Makefile b/tools/lib/perf/Documentation/Makefile
index 972754082a85..573ca5b27556 100644
--- a/tools/lib/perf/Documentation/Makefile
+++ b/tools/lib/perf/Documentation/Makefile
@@ -121,7 +121,7 @@ install-man: all
$(INSTALL) -d -m 755 $(DESTDIR)$(man7dir); \
$(INSTALL) -m 644 $(MAN_7) $(DESTDIR)$(man7dir);
-install-html:
+install-html: $(MAN_HTML)
$(call QUIET_INSTALL, html) \
$(INSTALL) -d -m 755 $(DESTDIR)$(htmldir); \
$(INSTALL) -m 644 $(MAN_HTML) $(DESTDIR)$(htmldir); \
---
base-commit: 46a0057a5853cbdb58211c19e89ba7777dc6fd50
change-id: 20240904-perf-f779f912365f
Best regards,
--
Akihiko Odaki <akihiko.odaki@daynix.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libperf: Explicitly specify install-html dependencies
2024-09-15 1:34 [PATCH] libperf: Explicitly specify install-html dependencies Akihiko Odaki
@ 2024-09-27 17:00 ` Namhyung Kim
0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2024-09-27 17:00 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers,
Adrian Hunter, Akihiko Odaki
Cc: linux-perf-users, linux-kernel
On Sun, 15 Sep 2024 10:34:29 +0900, Akihiko Odaki wrote:
> install_doc of tools/lib/perf/Makefile invokes install-man,
> install-html, and install-examples of
> tools/lib/perf/Documentation/Makefile at once. This invocation succeeds
> when make runs in serial but can fail when make runs in parallel because
> while install-man of tools/lib/perf/Documentation/Makefile depends on
> all, install-html depends on nothing and can run ahead of all.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-27 17:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-15 1:34 [PATCH] libperf: Explicitly specify install-html dependencies Akihiko Odaki
2024-09-27 17:00 ` Namhyung Kim
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).