Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DtW8Z-0004gC-4L for qemu-devel@nongnu.org; Fri, 15 Jul 2005 15:46:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DtW8U-0004cx-H7 for qemu-devel@nongnu.org; Fri, 15 Jul 2005 15:46:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtW8U-0004bk-Cj for qemu-devel@nongnu.org; Fri, 15 Jul 2005 15:46:14 -0400 Received: from [66.54.152.27] (helo=jive.SoftHome.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1DtW9T-0006T4-DF for qemu-devel@nongnu.org; Fri, 15 Jul 2005 15:47:15 -0400 From: Mulyadi Santosa Date: Sat, 16 Jul 2005 02:37:46 +0700 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_KCB2CIChqe42acv" Message-Id: <200507160237.46928.a_mulyadi@softhome.net> Subject: [Qemu-devel] [PATCH} automation of cscope tag file Reply-To: a_mulyadi@softhome.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary-00=_KCB2CIChqe42acv Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline hello everyone Here is a small patch to be applied for qemu 0.7.0. The patch adds a functionality to automatically generate cscope tag file. It assumes that cscope has been installed properly and is included on PATH regards Mulyadi --Boundary-00=_KCB2CIChqe42acv Content-Type: text/x-diff; charset="us-ascii"; name="qemu-cscope.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="qemu-cscope.diff" --- Makefile.orig 2005-04-28 03:52:05.000000000 +0700 +++ Makefile 2005-07-16 02:34:28.000000000 +0700 @@ -127,6 +127,11 @@ $(docdir)/qemu-tech.html \ $(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1 ) +cscope: + rm -f ./cscope.* + find . -name "*.[ch]" -print > ./cscope.files + cscope -b + ifneq ($(wildcard .depend),) include .depend endif --Boundary-00=_KCB2CIChqe42acv--