]> sourceware.org Git - automake.git/commitdiff
* tags.am: Fix missing leading tabs.
authorAkim Demaille <akim@epita.fr>
Mon, 9 Apr 2001 14:48:33 +0000 (14:48 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 9 Apr 2001 14:48:33 +0000 (14:48 +0000)
ChangeLog
lib/am/tags.am
tags.am

index 4c686c2ebdf635dc5d4f62927d87743e28e19425..db8fba3bf524875e9cd7850dcd7bebe51b450c96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-09  Akim Demaille  <akim@epita.fr>
+
+       * tags.am: Fix missing leading tabs.
+
 2001-04-09  Akim Demaille  <akim@epita.fr>
 
        * automake.in: Use simple quotes to define the _PATTERN variables
index 7dbabde07d45a4b109865d701c15cd9ff5aeb69f..9f85768fa4cb2bba961fa93d15d0bd68d94917b0 100644 (file)
@@ -45,11 +45,13 @@ TAGS: %DIRS% $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_DEPENDENCIES) \
                $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
+## It is tempting to use if/endif here, but don't: the previous
+## backslash will cause bad results (automake doesn't `see' the `if').
 ?SUBDIRS?      list='$(SUBDIRS)'; for subdir in $$list; do \
 ## Do nothing if we're trying to look in `.'.
-?SUBDIRS?   if test "$$subdir" = .; then :; else \
+?SUBDIRS?        if test "$$subdir" = .; then :; else \
 ?SUBDIRS?          test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
-?SUBDIRS?   fi; \
+?SUBDIRS?        fi; \
 ?SUBDIRS?      done; \
 ## Make sure the list of sources is unique.
        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
diff --git a/tags.am b/tags.am
index 7dbabde07d45a4b109865d701c15cd9ff5aeb69f..9f85768fa4cb2bba961fa93d15d0bd68d94917b0 100644 (file)
--- a/tags.am
+++ b/tags.am
@@ -45,11 +45,13 @@ TAGS: %DIRS% $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_DEPENDENCIES) \
                $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
+## It is tempting to use if/endif here, but don't: the previous
+## backslash will cause bad results (automake doesn't `see' the `if').
 ?SUBDIRS?      list='$(SUBDIRS)'; for subdir in $$list; do \
 ## Do nothing if we're trying to look in `.'.
-?SUBDIRS?   if test "$$subdir" = .; then :; else \
+?SUBDIRS?        if test "$$subdir" = .; then :; else \
 ?SUBDIRS?          test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
-?SUBDIRS?   fi; \
+?SUBDIRS?        fi; \
 ?SUBDIRS?      done; \
 ## Make sure the list of sources is unique.
        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
This page took 0.034612 seconds and 5 git commands to generate.