diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-01 12:05:00 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-01 12:05:00 -0500 |
commit | 568bb7b8e856b9efb98a3f63259c717adc1b96b8 (patch) | |
tree | 2047b31eb30e2323292bd9f1d3b138a5a2b05619 | |
parent | 067187fc9f1d09738fc833392e117f125cb6bbad (diff) |
perf tools: Fix up 'make clean' target
It wasn't using $(OUTPUT) to rm *.o and there were some funny looking
automake files that never get created but were being deleted anyway.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index d1984ee5df69..85f654927b92 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -1289,12 +1289,10 @@ distclean: clean | |||
1289 | # $(RM) configure | 1289 | # $(RM) configure |
1290 | 1290 | ||
1291 | clean: | 1291 | clean: |
1292 | $(RM) *.o */*.o */*/*.o */*/*/*.o $(LIB_FILE) | 1292 | $(RM) $(OUTPUT){*.o,*/*.o,*/*/*.o,*/*/*/*.o,$(LIB_FILE),perf-archive} |
1293 | $(RM) $(ALL_PROGRAMS) $(BUILT_INS) perf$X | 1293 | $(RM) $(ALL_PROGRAMS) $(BUILT_INS) perf$X |
1294 | $(RM) $(TEST_PROGRAMS) | 1294 | $(RM) $(TEST_PROGRAMS) |
1295 | $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* | 1295 | $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* |
1296 | $(RM) -r autom4te.cache | ||
1297 | $(RM) config.log config.mak.autogen config.mak.append config.status config.cache | ||
1298 | $(RM) -r $(PERF_TARNAME) .doc-tmp-dir | 1296 | $(RM) -r $(PERF_TARNAME) .doc-tmp-dir |
1299 | $(RM) $(PERF_TARNAME).tar.gz perf-core_$(PERF_VERSION)-*.tar.gz | 1297 | $(RM) $(PERF_TARNAME).tar.gz perf-core_$(PERF_VERSION)-*.tar.gz |
1300 | $(RM) $(htmldocs).tar.gz $(manpages).tar.gz | 1298 | $(RM) $(htmldocs).tar.gz $(manpages).tar.gz |