linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly
@ 2012-01-28  9:50 Joonsoo Kim
  2012-05-03  9:08 ` Joonsoo Kim
  0 siblings, 1 reply; 4+ messages in thread
From: Joonsoo Kim @ 2012-01-28  9:50 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Ingo Molnar, Paul Mackerras, Peter Zijlstra, Joonsoo Kim

The commit 65f3e56e0c81 ("perf tools: Remove auto-generated bison/flex
files") removed those files from git and modified Makefile to clean
auto-generated bison/flex files. But, in Makefile, regular expression
"*-{bison,flex}*" doesn't work. Fix it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 9bf3fc7..295c477 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -987,7 +987,7 @@ 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* $(OUTPUT)util/*-flex*
 	$(python-clean)
 
 .PHONY: all install clean strip
-- 
1.7.0.4


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

end of thread, other threads:[~2012-05-04 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-28  9:50 [PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly Joonsoo Kim
2012-05-03  9:08 ` Joonsoo Kim
2012-05-02 19:12   ` Arnaldo Carvalho de Melo
2012-05-04 10:25     ` JoonSoo Kim

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).