Commit 7f309ed6453926a81e2a97d274f67f1e48f0d74c

Authored by Palmer Cox
Committed by Arnaldo Carvalho de Melo
1 parent 6b118e92cc

perf tools: Remove brace expansion from clean target

The clean target uses brace expansion to remove some generated files. However,
the default shells on many systems do not support this feature resulting in
some generated files not being removed by clean.

Signed-off-by: Palmer Cox <p@lmercox.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1343598883-17907-1-git-send-email-p@lmercox.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -987,7 +987,8 @@
987 987 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
988 988 $(MAKE) -C Documentation/ clean
989 989 $(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
990   - $(RM) $(OUTPUT)util/*-{bison,flex}*
  990 + $(RM) $(OUTPUT)util/*-bison*
  991 + $(RM) $(OUTPUT)util/*-flex*
991 992 $(python-clean)
992 993  
993 994 .PHONY: all install clean strip $(LIBTRACEEVENT)