[PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly

From: Joonsoo Kim
Date: Wed May 02 2012 - 11:02:33 EST


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@xxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/