perf_counter tools: Fix 'make install'
Commit-ID: 7fbd55449aafb86d3237b5d1a26fb4dab2aa2c76 Gitweb: http://git.kernel.org/tip/7fbd55449aafb86d3237b5d1a26fb4dab2aa2c76 Author: Ingo Molnar <[email protected]> AuthorDate: Sat, 30 May 2009 12:38:51 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Sat, 30 May 2009 12:45:29 +0200
perf_counter tools: Fix 'make install'
'make install' didnt install perf itself - which needs a special rule to be copied to bindir.
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- Documentation/perf_counter/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Documentation/perf_counter/Makefile +1 -0
@@ -776,6 +776,7 @@ install: all $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)' $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' + $(INSTALL) perf$X '$(DESTDIR_SQ)$(bindir_SQ)' ifneq (,$X) $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';) endif