From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754577Ab2EBPCg (ORCPT ); Wed, 2 May 2012 11:02:36 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:35920 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753729Ab2EBPCf (ORCPT ); Wed, 2 May 2012 11:02:35 -0400 From: Joonsoo Kim To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Paul Mackerras , Peter Zijlstra , Joonsoo Kim Subject: [PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly Date: Sat, 28 Jan 2012 01:50:56 -0800 Message-Id: <1327744256-10786-1-git-send-email-js1304@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)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