]> sourceware.org Git - automake.git/commitdiff
(TAGS): Make tags file that includes all subdir tags files
authorTom Tromey <tromey@redhat.com>
Sun, 12 Nov 1995 19:29:12 +0000 (19:29 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 12 Nov 1995 19:29:12 +0000 (19:29 +0000)
lib/am/subdirs.am
subdirs.am

index 9cfa21853aca267cb5a5187afa65033d813bb08c..03943f372936bd947776d8b16e02f7d0a66b5290 100644 (file)
@@ -13,6 +13,15 @@ all install install-info uninstall check tags TAGS info dvi::
          (cd $$subdir; $(MAKE) $@); \
        done
 
+TAGS::
+       tags=;                                  \
+       for subdir in $(SUBDIRS); do            \
+         if test -f $subdir/TAGS; then         \
+           tags="$tags -i $subdir/TAGS";       \
+         fi;                                   \
+       done;                                   \
+       etags $tags
+
 mostlyclean: mostlyclean-recursive mostlyclean-local
 
 clean: clean-recursive clean-local
index 9cfa21853aca267cb5a5187afa65033d813bb08c..03943f372936bd947776d8b16e02f7d0a66b5290 100644 (file)
@@ -13,6 +13,15 @@ all install install-info uninstall check tags TAGS info dvi::
          (cd $$subdir; $(MAKE) $@); \
        done
 
+TAGS::
+       tags=;                                  \
+       for subdir in $(SUBDIRS); do            \
+         if test -f $subdir/TAGS; then         \
+           tags="$tags -i $subdir/TAGS";       \
+         fi;                                   \
+       done;                                   \
+       etags $tags
+
 mostlyclean: mostlyclean-recursive mostlyclean-local
 
 clean: clean-recursive clean-local
This page took 0.030724 seconds and 5 git commands to generate.