diff options
author | Tom Tromey <tromey@redhat.com> | 1997-04-16 05:22:57 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-04-16 05:22:57 +0000 |
commit | 68a4dd4375a274b3c92813d00d2fcf9adfbef00e (patch) | |
tree | 0a078da1924e9d0afdad3ff83182a14d9be4221e /lib | |
parent | 939ff93f23d9d51b3f4c4eec879230f22f969657 (diff) | |
download | automake-68a4dd4375a274b3c92813d00d2fcf9adfbef00e.tar.gz |
bug fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/am/tags.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/am/tags.am b/lib/am/tags.am index 989c2190c..7cd856174 100644 --- a/lib/am/tags.am +++ b/lib/am/tags.am @@ -23,11 +23,9 @@ ID: $(HEADERS) $(SOURCES) TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) tags=; \ here=`pwd`; \ -## It is ok to examine SUBDIRS here in every case; if it is empty, -## there is a slight performance hit. But we don't care. - list='$(SUBDIRS)'; for subdir in $$list; do \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - done; \ +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) |