From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM4c4-0000ma-Ow for qemu-devel@nongnu.org; Wed, 01 Jul 2009 14:32:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM4bz-0000kK-Lz for qemu-devel@nongnu.org; Wed, 01 Jul 2009 14:32:55 -0400 Received: from [199.232.76.173] (port=59522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM4bz-0000kG-IC for qemu-devel@nongnu.org; Wed, 01 Jul 2009 14:32:51 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:32153 helo=SMTP.EU.CITRIX.COM) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM4bz-0002Ez-5R for qemu-devel@nongnu.org; Wed, 01 Jul 2009 14:32:51 -0400 From: Bique Alexandre Date: Wed, 1 Jul 2009 19:31:55 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_bu6SKWHIskeWMIf" Message-ID: <200907011931.55694.alexandre.bique@citrix.com> Subject: [Qemu-devel] [PATCH 1/5] ATAPI pass through v2: update the rule TAGS List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" --Boundary-00=_bu6SKWHIskeWMIf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch updates the rule TAGS from the makefile. This one is better because it works if the build directory is not the source directory and it doesn't need to be updated if you add a new sub-folder. -- Alexandre Bique --Boundary-00=_bu6SKWHIskeWMIf Content-Type: text/x-patch; charset="UTF-8"; name="makefile-tags-rule" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="makefile-tags-rule" diff --git a/Makefile b/Makefile index 2a4b3f3..df5b5c4 100644 --- a/Makefile +++ b/Makefile @@ -300,8 +300,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.* --Boundary-00=_bu6SKWHIskeWMIf--