# Handle TAGS.
sub handle_tags
{
- define_variable ('am__tagged_files', INTERNAL,
+ define_variable ('am.tags.files', INTERNAL,
qw/$(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
$(am.config-hdr.local.in)/);
- if (rvar('am__tagged_files')->value_as_list_recursive
+ if (rvar('am.tags.files')->value_as_list_recursive
|| var ('ETAGS_ARGS') || var ('SUBDIRS'))
{
$output_rules .= &file_contents ('tags', new Automake::Location);
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
- list='$(am__tagged_files)'; \
+ list='$(am.tags.files)'; \
unique=`for i in $$list; do \
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
## ID. ##
## ---- ##
-ID: $(am__tagged_files)
+ID: $(am.tags.files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
endif !%?SUBDIRS%
TAGS: tags
-tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+tags-am: $(TAGS_DEPENDENCIES) $(am.tags.files)
## We use the positional parameters to build the subdir list with
## absolute names, without the need to worry about white space in `pwd`.
set x; \
endif !%?SUBDIRS%
CTAGS: ctags
-ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ctags-am: $(TAGS_DEPENDENCIES) $(am.tags.files)
$(am__define_uniq_tagged_files); \
## Make sure we have something to run ctags on.
test -z "$(CTAGS_ARGS)$$unique" \
cscopelist: cscopelist-am
endif !%?SUBDIRS%
-cscopelist-am: $(am__tagged_files)
- list='$(am__tagged_files)'; \
+cscopelist-am: $(am.tags.files)
+ list='$(am.tags.files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \