[lkml]   [2012]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly
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 <>

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)util/*-{bison,flex}*
+ $(RM) $(OUTPUT)util/*-bison* $(OUTPUT)util/*-flex*

.PHONY: all install clean strip

 \ /
  Last update: 2012-05-02 18:41    [W:0.067 / U:0.812 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site