perf tools: Run generate-cmdlist.sh properly
authorMulyadi Santosa <[email protected]>
Fri, 25 Sep 2009 19:01:41 +0000 (02:01 +0700)
committerIngo Molnar <[email protected]>
Thu, 1 Oct 2009 08:12:03 +0000 (10:12 +0200)
Right now generate-cmdlist.sh is not executable, so we
should call it as an argument ".".

This fixes cases where due to different umask defaults
the generate-cmdlist.sh script is not executable in
a kernel tree checkout.

Signed-off-by: Mulyadi Santosa <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/Makefile

index b5f1953b614438a38dbab19efc4b61d95e8e656c..5881943f0c3430e5023796b0f5e0fc83d40b2796 100644 (file)
@@ -728,7 +728,7 @@ $(BUILT_INS): perf$X
 common-cmds.h: util/generate-cmdlist.sh command-list.txt
 
 common-cmds.h: $(wildcard Documentation/perf-*.txt)
-       $(QUIET_GEN)util/generate-cmdlist.sh > $@+ && mv $@+ $@
+       $(QUIET_GEN)util/generate-cmdlist.sh > $@+ && mv $@+ $@
 
 $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
        $(QUIET_GEN)$(RM) $@ $@+ && \