diff options
author | Tom Tromey <tromey@redhat.com> | 1997-11-26 20:45:15 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-11-26 20:45:15 +0000 |
commit | a799d73f4493001e2bfaf46edeb3064f8d3cf37c (patch) | |
tree | a42e3211026344d234200690829ded75ef3e7a7e | |
parent | 98f2a61ab42e98a8a5d72600e0ea33cb70a3b30b (diff) | |
download | automake-a799d73f4493001e2bfaf46edeb3064f8d3cf37c.tar.gz |
make tags for lisp
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/am/tags.am | 13 | ||||
-rw-r--r-- | tags.am | 13 |
3 files changed, 19 insertions, 12 deletions
@@ -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) @@ -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) |