summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1997-11-26 20:45:15 +0000
committerTom Tromey <tromey@redhat.com>1997-11-26 20:45:15 +0000
commita799d73f4493001e2bfaf46edeb3064f8d3cf37c (patch)
treea42e3211026344d234200690829ded75ef3e7a7e
parent98f2a61ab42e98a8a5d72600e0ea33cb70a3b30b (diff)
downloadautomake-a799d73f4493001e2bfaf46edeb3064f8d3cf37c.tar.gz
make tags for lisp
-rw-r--r--ChangeLog5
-rw-r--r--lib/am/tags.am13
-rw-r--r--tags.am13
3 files changed, 19 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 1bf7cfad7..3788411a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Nov 26 13:41:57 1997 Tom Tromey <tromey@cygnus.com>
+
+ * tags.am (ID): Scan lisp files.
+ (TAGS): Make tags for lisp files.
+
Tue Nov 25 14:20:42 1997 Tom Tromey <tromey@cygnus.com>
* ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM. From Gord
diff --git a/lib/am/tags.am b/lib/am/tags.am
index 7cd856174..ab23dbc2c 100644
--- a/lib/am/tags.am
+++ b/lib/am/tags.am
@@ -1,5 +1,5 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -17,15 +17,16 @@
## 02111-1307, USA.
tags: TAGS
-ID: $(HEADERS) $(SOURCES)
- here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
+ID: $(HEADERS) $(SOURCES) $(LISP)
+ here=`pwd` && cd $(srcdir) \
+ && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
-TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
+TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
SUBDIRS list='$(SUBDIRS)'; for subdir in $$list; do \
SUBDIRS test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
SUBDIRS done; \
## Make sure we have something to run etags on.
- test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)
+ test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$(LISP)$$tags" \
+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
diff --git a/tags.am b/tags.am
index 7cd856174..ab23dbc2c 100644
--- a/tags.am
+++ b/tags.am
@@ -1,5 +1,5 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -17,15 +17,16 @@
## 02111-1307, USA.
tags: TAGS
-ID: $(HEADERS) $(SOURCES)
- here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
+ID: $(HEADERS) $(SOURCES) $(LISP)
+ here=`pwd` && cd $(srcdir) \
+ && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
-TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
+TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
SUBDIRS list='$(SUBDIRS)'; for subdir in $$list; do \
SUBDIRS test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
SUBDIRS done; \
## Make sure we have something to run etags on.
- test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)
+ test -z "$(ETAGS_ARGS)@CONFIG@$(SOURCES)$(HEADERS)$(LISP)$$tags" \
+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)