]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
(TAGS): Always supply 'else' clause to 'if'
authorTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 05:52:14 +0000 (05:52 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 26 Nov 1995 05:52:14 +0000 (05:52 +0000)
lib/am/tags.am
tags.am

index eca6bda59cf8bc31a0d79bcb7389ad7696d8e0b1..6709f35104528ffc3e40d9e7d809b4dbe0294702 100644 (file)
@@ -7,10 +7,14 @@ TAGS:
          (cd $$subdir && $(MAKE) TAGS);        \
          if test -f $$subdir/TAGS; then        \
            tags="$$tags -i $$here/$$subdir/TAGS"; \
+         else                                  \
+           true;                               \
          fi;                                   \
        done;                                   \
        if test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags"; \
        then                                    \
          etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS); \
+       else                                    \
+         true;                                 \
        fi
 
diff --git a/tags.am b/tags.am
index eca6bda59cf8bc31a0d79bcb7389ad7696d8e0b1..6709f35104528ffc3e40d9e7d809b4dbe0294702 100644 (file)
--- a/tags.am
+++ b/tags.am
@@ -7,10 +7,14 @@ TAGS:
          (cd $$subdir && $(MAKE) TAGS);        \
          if test -f $$subdir/TAGS; then        \
            tags="$$tags -i $$here/$$subdir/TAGS"; \
+         else                                  \
+           true;                               \
          fi;                                   \
        done;                                   \
        if test -n "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags"; \
        then                                    \
          etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS); \
+       else                                    \
+         true;                                 \
        fi