aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2012-07-29 17:54:43 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-08-03 10:46:32 -0300
commit7f309ed6453926a81e2a97d274f67f1e48f0d74c (patch)
tree71872c287d863c6f2eee76f466f293f88b406652
parent6b118e92cc78ccef7b54a296158d4738fd377bcc (diff)
downloadlinux-apparmor-7f309ed6453926a81e2a97d274f67f1e48f0d74c.tar.gz
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>
-rw-r--r--tools/perf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 32912af430f0b..35655c3a7b7a4 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -987,7 +987,8 @@ clean:
$(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
$(MAKE) -C Documentation/ clean
$(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS
- $(RM) $(OUTPUT)util/*-{bison,flex}*
+ $(RM) $(OUTPUT)util/*-bison*
+ $(RM) $(OUTPUT)util/*-flex*
$(python-clean)
.PHONY: all install clean strip $(LIBTRACEEVENT)