From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Can `make tags' generate tags for Scheme source, as well as C? Date: Sat, 11 Sep 2010 18:47:33 +0100 Message-ID: <87d3skxjd6.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1284227267 3024 80.91.229.12 (11 Sep 2010 17:47:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 17:47:47 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Sep 11 19:47:45 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OuUAy-0005uG-Fo for guile-devel@m.gmane.org; Sat, 11 Sep 2010 19:47:44 +0200 Original-Received: from localhost ([127.0.0.1]:37738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuUAx-0001UO-Ma for guile-devel@m.gmane.org; Sat, 11 Sep 2010 13:47:43 -0400 Original-Received: from [140.186.70.92] (port=49997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuUAr-0001S8-OB for guile-devel@gnu.org; Sat, 11 Sep 2010 13:47:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuUAp-0006cq-P3 for guile-devel@gnu.org; Sat, 11 Sep 2010 13:47:36 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:59980) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuUAp-0006cZ-JH for guile-devel@gnu.org; Sat, 11 Sep 2010 13:47:35 -0400 Original-Received: from arudy (unknown [78.149.197.58]) by mail3.uklinux.net (Postfix) with ESMTP id 6F1271F6C4C for ; Sat, 11 Sep 2010 18:47:34 +0100 (BST) Original-Received: from neil-laptop (unknown [192.168.1.2]) by arudy (Postfix) with ESMTP id 3FB6038012 for ; Sat, 11 Sep 2010 18:47:36 +0100 (BST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10904 Archived-At: --=-=-= I think this got lost when the toplevel "module" directory was introduced. The attached patch restores it; OK to commit? Thanks, Neil --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-Create-tags-for-Scheme-source.patch >From 41e286ea5281913acfe2f9a29ba995256f9533b6 Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Sat, 11 Sep 2010 18:39:00 +0100 Subject: [PATCH 2/2] Create tags for Scheme source * am/guilec: Set ETAGS_ARGS. * module/Makefile.am: When adding sources to EXTRA_DIST, add them to ETAGS_ARGS too. --- am/guilec | 1 + module/Makefile.am | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/am/guilec b/am/guilec index 7e34719..5a7787e 100644 --- a/am/guilec +++ b/am/guilec @@ -8,6 +8,7 @@ nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) ccachedir = $(pkglibdir)/$(GUILE_EFFECTIVE_VERSION)/ccache/$(modpath) nobase_ccache_DATA = $(GOBJECTS) EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) +ETAGS_ARGS = $(SOURCES) $(NOCOMP_SOURCES) CLEANFILES = $(GOBJECTS) diff --git a/module/Makefile.am b/module/Makefile.am index a88df80..ef5b25f 100644 --- a/module/Makefile.am +++ b/module/Makefile.am @@ -30,6 +30,7 @@ CLEANFILES += ice-9/eval.go nobase_mod_DATA += ice-9/eval.scm nobase_ccache_DATA += ice-9/eval.go EXTRA_DIST += ice-9/eval.scm +ETAGS_ARGS += ice-9/eval.scm # We can compile these in any order, but it's fastest if we compile # psyntax and boot-9 first, then the compiler itself, then the rest of @@ -66,6 +67,10 @@ EXTRA_DIST += \ ice-9/test.scm \ ice-9/compile-psyntax.scm \ ice-9/ChangeLog-2008 +ETAGS_ARGS += \ + ice-9/test.scm \ + ice-9/compile-psyntax.scm \ + ice-9/ChangeLog-2008 include $(top_srcdir)/am/pre-inst-guile ice-9/psyntax-pp.scm.gen: -- 1.7.0.4 --=-=-=--