]> sourceware.org Git - automake.git/commitdiff
Initial revision
authorTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 18:27:07 +0000 (18:27 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 18:27:07 +0000 (18:27 +0000)
lib/am/tags.am [new file with mode: 0644]
tags-subd.am [new file with mode: 0644]
tags.am [new file with mode: 0644]

diff --git a/lib/am/tags.am b/lib/am/tags.am
new file mode 100644 (file)
index 0000000..88d653e
--- /dev/null
@@ -0,0 +1,11 @@
+tags TAGS::
+       tags=;                                  \
+       for subdir in $(SUBDIRS); do            \
+         (cd $$subdir && $(MAKE) TAGS);        \
+         if test -f $$subdir/TAGS; then        \
+           tags="$$tags -i $$subdir/TAGS";     \
+         fi;                                   \
+       done;                                   \
+       if test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$$tags"; then \
+         etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) \
+       fi
diff --git a/tags-subd.am b/tags-subd.am
new file mode 100644 (file)
index 0000000..06f13dd
--- /dev/null
@@ -0,0 +1,9 @@
+id:: ID
+
+ID::
+       here=`pwd`; cd $(srcdir) && mkid -f $$here/ID $(SOURCES) $(HEADERS)
+
+tags:: TAGS
+
+TAGS::
+       here=`pwd`; cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
diff --git a/tags.am b/tags.am
new file mode 100644 (file)
index 0000000..88d653e
--- /dev/null
+++ b/tags.am
@@ -0,0 +1,11 @@
+tags TAGS::
+       tags=;                                  \
+       for subdir in $(SUBDIRS); do            \
+         (cd $$subdir && $(MAKE) TAGS);        \
+         if test -f $$subdir/TAGS; then        \
+           tags="$$tags -i $$subdir/TAGS";     \
+         fi;                                   \
+       done;                                   \
+       if test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$$tags"; then \
+         etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) \
+       fi
This page took 0.031631 seconds and 5 git commands to generate.