]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tags fixlet
authorTom Tromey <tromey@redhat.com>
Fri, 4 Apr 1997 02:43:50 +0000 (02:43 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 4 Apr 1997 02:43:50 +0000 (02:43 +0000)
ChangeLog
Makefile.in
lib/am/tags.am
tags.am

index cdb3c2437e7a3198eddb55bab44ff2817d63c1c1..85bccc0d0d286fb226114c6c671414836cea1db1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Thu Apr  3 19:07:59 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * tags.am (TAGS): Run "cd && etags" in subshell for proper
+       associativity.
+
        * texinfos.am (install-info-am): If --cygnus, then info file can
        be in build dir.  From David Zaroski.
 
index 2dc36300f2ab1ce40b923f5e0163d377df61c256..1d22e95b0c095dea438b315d79ce0e16efc8221a 100644 (file)
@@ -331,7 +331,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
          test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
        done; \
        test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
-         || cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS)
 
 mostlyclean-tags:
 
index 4962e3af58526946981045a2719f0fcceb541691..989c2190c240bafbc38aba570219f73748509939 100644 (file)
@@ -30,4 +30,4 @@ TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
        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
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)
diff --git a/tags.am b/tags.am
index 4962e3af58526946981045a2719f0fcceb541691..989c2190c240bafbc38aba570219f73748509939 100644 (file)
--- a/tags.am
+++ b/tags.am
@@ -30,4 +30,4 @@ TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES)
        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
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags @CONFIG@ $(SOURCES) $(HEADERS) -o $$here/TAGS)