unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: guile-devel@gnu.org
Subject: Can `make tags' generate tags for Scheme source, as well as C?
Date: Sat, 11 Sep 2010 18:47:33 +0100	[thread overview]
Message-ID: <87d3skxjd6.fsf@ossau.uklinux.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

I think this got lost when the toplevel "module" directory was
introduced.  The attached patch restores it; OK to commit?

Thanks,
    Neil


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-Create-tags-for-Scheme-source.patch --]
[-- Type: text/x-diff, Size: 1576 bytes --]

From 41e286ea5281913acfe2f9a29ba995256f9533b6 Mon Sep 17 00:00:00 2001
From: Neil Jerram <neil@ossau.uklinux.net>
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


             reply	other threads:[~2010-09-11 17:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 17:47 Neil Jerram [this message]
2010-09-12 11:35 ` Can `make tags' generate tags for Scheme source, as well as C? Andy Wingo
2010-09-15 14:37 ` Ludovic Courtès
2010-10-04 22:00   ` Neil Jerram
2010-10-04 22:36     ` Ludovic Courtès
2010-10-11 21:38       ` Neil Jerram
2010-10-04 22:40     ` Jose A. Ortega Ruiz
2010-10-11 21:41       ` Neil Jerram
2010-10-11 22:11         ` Andy Wingo
2010-10-11 22:24           ` Jose A. Ortega Ruiz
2010-10-12  9:36             ` Andy Wingo
2010-10-12 12:12               ` Jose A. Ortega Ruiz
2010-10-12 17:46                 ` Andy Wingo
2010-10-12 18:03                   ` Jose A. Ortega Ruiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3skxjd6.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).