From: Akim Demaille Date: Mon, 9 Apr 2001 14:48:33 +0000 (+0000) Subject: * tags.am: Fix missing leading tabs. X-Git-Tag: handle-languages~81 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1e939eae8faf8100c77cd6978acc000e74659a79;p=automake.git * tags.am: Fix missing leading tabs. --- diff --git a/ChangeLog b/ChangeLog index 4c686c2e..db8fba3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-09 Akim Demaille + + * tags.am: Fix missing leading tabs. + 2001-04-09 Akim Demaille * automake.in: Use simple quotes to define the _PATTERN variables diff --git a/lib/am/tags.am b/lib/am/tags.am index 7dbabde0..9f85768f 100644 --- a/lib/am/tags.am +++ b/lib/am/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)'; \ diff --git a/tags.am b/tags.am index 7dbabde0..9f85768f 100644 --- 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)'; \