unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Can `make tags' generate tags for Scheme source, as well as C?
@ 2010-09-11 17:47 Neil Jerram
  2010-09-12 11:35 ` Andy Wingo
  2010-09-15 14:37 ` Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Neil Jerram @ 2010-09-11 17:47 UTC (permalink / raw)
  To: guile-devel

[-- 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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-10-12 18:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-11 17:47 Can `make tags' generate tags for Scheme source, as well as C? Neil Jerram
2010-09-12 11:35 ` 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

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).