From 619c686f0dff07c6fdbe248ecf798654c12fb665 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 26 Nov 2001 18:01:54 +0000 Subject: [PATCH] * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files in $(srcdir), like other TAGS dependencies. Suggested by Christian Cornelssen. --- ChangeLog | 6 ++++++ lib/am/tags.am | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5ce1cf8..246d7701 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-26 Alexandre Duret-Lutz + + * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files + in $(srcdir), like other TAGS dependencies. + Suggested by Christian Cornelssen. + 2001-11-26 Akim Demaille * automake.in (¯o_define): Use $where when reporting an error, diff --git a/lib/am/tags.am b/lib/am/tags.am index c833dbe0..3b23fdc3 100644 --- a/lib/am/tags.am +++ b/lib/am/tags.am @@ -54,7 +54,7 @@ TAGS: %DIRS% $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_DEPENDENCIES) \ ?SUBDIRS? fi; \ ?SUBDIRS? done; \ ## Make sure the list of sources is unique. - list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + list='$(SOURCES) $(HEADERS) %CONFIG% $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ ## Handle VPATH correctly. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ @@ -62,8 +62,8 @@ TAGS: %DIRS% $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_DEPENDENCIES) \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ ## Make sure we have something to run etags on. - test -z "$(ETAGS_ARGS)%CONFIG%$$unique$(LISP)$$tags" \ - || etags $(ETAGS_ARGS) $$tags %CONFIG% $$unique $(LISP) + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || etags $(ETAGS_ARGS) $$tags $$unique ## --------------- ## -- 2.43.5