From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Alexandre Bique Date: Fri, 7 Aug 2009 15:43:11 +0100 Message-ID: <1249656191-26679-1-git-send-email-alexandre.bique@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] Makefile: fixed rule TAGS List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexandre Bique - 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.* -- 1.6.4