]> sourceware.org Git - automake.git/commitdiff
make tags for lisp
authorTom Tromey <tromey@redhat.com>
Wed, 26 Nov 1997 20:45:13 +0000 (20:45 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 26 Nov 1997 20:45:13 +0000 (20:45 +0000)
ChangeLog
lib/am/tags.am
tags.am

index 1bf7cfad7749a88ee566031c4fe489946451176b..3788411a353aeb40d9813d807d4aad85e0875fee 100644 (file)
--- 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
index 7cd8561743a2a9a19cb179d021aba66a996f8cfe..ab23dbc2c00f3bc4bc8c6952df7474a712ac0bb7 100644 (file)
@@ -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
 ## 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 7cd8561743a2a9a19cb179d021aba66a996f8cfe..ab23dbc2c00f3bc4bc8c6952df7474a712ac0bb7 100644 (file)
--- 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
 ## 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)
This page took 0.040014 seconds and 5 git commands to generate.