From patchwork Fri Aug 7 14:43:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bique Alexandre X-Patchwork-Id: 30935 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id AC637B707B for ; Sat, 8 Aug 2009 00:48:34 +1000 (EST) Received: from localhost ([127.0.0.1]:46801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZQkA-0005kX-UG for incoming@patchwork.ozlabs.org; Fri, 07 Aug 2009 10:48:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZQgh-0003vH-Pk for qemu-devel@nongnu.org; Fri, 07 Aug 2009 10:44:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZQgd-0003tY-Cb for qemu-devel@nongnu.org; Fri, 07 Aug 2009 10:44:55 -0400 Received: from [199.232.76.173] (port=47061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZQgd-0003tS-2t for qemu-devel@nongnu.org; Fri, 07 Aug 2009 10:44:51 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:51814) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZQgc-0000Pj-Ms for qemu-devel@nongnu.org; Fri, 07 Aug 2009 10:44:50 -0400 X-IronPort-AV: E=Sophos;i="4.43,341,1246838400"; d="scan'208";a="6536182" Received: from lonpmailmx01.citrite.net ([10.30.224.162]) by LONPIPO01.EU.CITRIX.COM with ESMTP; 07 Aug 2009 14:44:50 +0000 Received: from localhost.localdomain (10.80.2.58) by smtprelay.citirx.com (10.30.224.162) with Microsoft SMTP Server id 8.1.358.0; Fri, 7 Aug 2009 15:44:50 +0100 From: Alexandre Bique To: qemu-devel@nongnu.org Date: Fri, 7 Aug 2009 15:43:11 +0100 Message-ID: <1249656191-26679-1-git-send-email-alexandre.bique@citrix.com> X-Mailer: git-send-email 1.6.4 MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Alexandre Bique Subject: [Qemu-devel] [PATCH] Makefile: fixed rule TAGS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org - still works if the build dir is not the src dir - use find instead of *.c block/*.c etc... Signed-off-by: Alexandre Bique --- Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index d3f999e..052ca88 100644 --- a/Makefile +++ b/Makefile @@ -285,8 +285,9 @@ endif test speed: all $(MAKE) -C tests $@ +.PHONY: TAGS TAGS: - etags *.[ch] tests/*.[ch] block/*.[ch] hw/*.[ch] + find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags cscope: rm -f ./cscope.*