From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754819Ab2EBQJe (ORCPT ); Wed, 2 May 2012 12:09:34 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:36009 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843Ab2EBQJc (ORCPT ); Wed, 2 May 2012 12:09:32 -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: Thu, 3 May 2012 02:08:27 -0700 Message-Id: <1336036107-12334-1-git-send-email-js1304@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1327744256-10786-1-git-send-email-js1304@gmail.com> References: <1327744256-10786-1-git-send-email-js1304@gmail.com> 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