Skip to content

Commit 615d774

Browse files
Namhyung Kimacmel
authored andcommitted
perf tools: Convert invocation of MAKE into SUBDIR
This will show directory change info in a consistent form. Also it can be converted again into David Howell's descend command. Signed-off-by: Namhyung Kim <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Howells <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 536e2b0 commit 615d774

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/perf/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html
985985

986986
# 'make doc' should call 'make -C Documentation all'
987987
$(DOC_TARGETS):
988-
$(MAKE) -C Documentation $(@:doc=all)
988+
$(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) $(@:doc=all)
989989

990990
TAGS:
991991
$(RM) TAGS
@@ -1058,15 +1058,15 @@ install-python_ext:
10581058

10591059
# 'make install-doc' should call 'make -C Documentation install'
10601060
$(INSTALL_DOC_TARGETS):
1061-
$(MAKE) -C Documentation $(@:-doc=)
1061+
$(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) $(@:-doc=)
10621062

10631063
### Cleaning rules
10641064

10651065
clean: $(LIBTRACEEVENT)-clean
10661066
$(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS)
10671067
$(RM) $(ALL_PROGRAMS) perf
10681068
$(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
1069-
$(MAKE) -C Documentation/ clean
1069+
$(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) clean
10701070
$(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
10711071
$(RM) $(OUTPUT)util/*-bison*
10721072
$(RM) $(OUTPUT)util/*-flex*

0 commit comments

Comments
 (0)