summaryrefslogtreecommitdiff
path: root/tags.am
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-04-09 14:48:34 +0000
committerAkim Demaille <akim@epita.fr>2001-04-09 14:48:34 +0000
commit890258dcba298b2e70fb90576e91db6037648675 (patch)
treebc627b5a10488698e6e9850bdcb477dada7eb1eb /tags.am
parent66108cddf627997ab4c7a2feb513875521d30abb (diff)
downloadautomake-890258dcba298b2e70fb90576e91db6037648675.tar.gz
* tags.am: Fix missing leading tabs.
Diffstat (limited to 'tags.am')
-rw-r--r--tags.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/tags.am b/tags.am
index 7dbabde07..9f85768fa 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)'; \