Skip to contentSkip to conversation

tools/perf: really install manpages by make install-man

PATCH Applied Konstantin Khlebnikov 3 participants 3 messages Aug 20, 2017 – Aug 24, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/perf: really install manpages by make install-man

Target install-man builds them but forget to install.

---
 tools/perf/Documentation/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Documentation/Makefile +1 -1
index 098cfb9ca8f0..db11478e30b4 100644
@@ -192,7 +192,7 @@ do-install-man: man
 #		$(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir); \
 #		$(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 
-install-man: check-man-tools man
+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)
maintainer Applied
#1 lore raw

Em Sun, Aug 20, 2017 at 02:39:13PM +0300, Konstantin Khlebnikov escreveu:

Quoted 1 line

Target install-man builds them but forget to install.

Thanks, applied, I guess nobody noticed that because the man pages _are_ installed when using plain 'make -C tools/perf install', as it calls 'try-install-man' and it, in turn, uses do-install-man.

- Arnaldo

Quoted 18 lines
---
 tools/perf/Documentation/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Documentation/Makefile +1 -1
index 098cfb9ca8f0..db11478e30b4 100644
@@ -192,7 +192,7 @@ do-install-man: man
 #		$(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir); \
 #		$(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 
-install-man: check-man-tools man
+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)
#2 lore raw

[tip:perf/core] perf tools: Really install manpages via 'make install-man'

In reply to Konstantin Khlebnikov
perf tools: Really install manpages via 'make install-man'
Commit-ID:  2826478a6660158d261bc49ad8954a8f5c39be07
Gitweb:     http://git.kernel.org/tip/2826478a6660158d261bc49ad8954a8f5c39be07
Author:     Konstantin Khlebnikov <[email protected]>
AuthorDate: Sun, 20 Aug 2017 14:39:13 +0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 22 Aug 2017 13:24:53 -0300

perf tools: Really install manpages via 'make install-man'

Target install-man builds them but forget to install.

Cc Alexander Shishkin <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Peter Zijlstra <[email protected]>
Fixes af3df2cf17f5 ("perf tools: Try to build Documentation when installing")
---
 tools/perf/Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Documentation/Makefile +1 -1
index 098cfb9..db11478 100644
@@ -192,7 +192,7 @@ do-install-man: man
 #		$(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir); \
 #		$(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 
-install-man: check-man-tools man
+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)