From: Tom Tromey Date: Sun, 12 Nov 1995 19:57:31 +0000 (+0000) Subject: (TAGS): Bug fixes. X-Git-Tag: Release-0-25~403 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=450eda0724ec62803504cd5b58c3c6d61cc04f4f;p=automake.git (TAGS): Bug fixes. --- diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index 6eb03791..56e60595 100644 --- a/lib/am/subdirs.am +++ b/lib/am/subdirs.am @@ -17,11 +17,11 @@ tags TAGS:: tags=; \ for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) TAGS); \ - if test -f $subdir/TAGS; then \ - tags="$tags -i $subdir/TAGS"; \ + if test -f $$subdir/TAGS; then \ + tags="$$tags -i $$subdir/TAGS"; \ fi; \ done; \ - etags $tags + etags $$tags mostlyclean: mostlyclean-recursive mostlyclean-local diff --git a/subdirs.am b/subdirs.am index 6eb03791..56e60595 100644 --- a/subdirs.am +++ b/subdirs.am @@ -17,11 +17,11 @@ tags TAGS:: tags=; \ for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) TAGS); \ - if test -f $subdir/TAGS; then \ - tags="$tags -i $subdir/TAGS"; \ + if test -f $$subdir/TAGS; then \ + tags="$$tags -i $$subdir/TAGS"; \ fi; \ done; \ - etags $tags + etags $$tags mostlyclean: mostlyclean-recursive mostlyclean-local