linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf: Remove brace expansion from clean target
@ 2012-07-29 21:54 Palmer Cox
  2012-08-05 16:59 ` [tip:perf/urgent] perf tools: " tip-bot for Palmer Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Palmer Cox @ 2012-07-29 21:54 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: Palmer Cox, linux-kernel

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>
---
 tools/perf/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 75d74e5..842cf67 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -979,7 +979,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)
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-05 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-29 21:54 [PATCH] perf: Remove brace expansion from clean target Palmer Cox
2012-08-05 16:59 ` [tip:perf/urgent] perf tools: " tip-bot for Palmer Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).