]> sourceware.org Git - automake.git/commitdiff
* lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 26 Nov 2001 18:01:54 +0000 (18:01 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 26 Nov 2001 18:01:54 +0000 (18:01 +0000)
in $(srcdir), like other TAGS dependencies.
Suggested by Christian Cornelssen.

ChangeLog
lib/am/tags.am

index b5ce1cf845db1194e68f92fe7bce842f9b0bf859..246d7701b4314fd8453e24ee89f56efc5d784f3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        * automake.in (&macro_define): Use $where when reporting an error,
index c833dbe0df011565710db83f304c9df595d2db41..3b23fdc3b4e76b7294cc63d64ce01ec27983d817 100644 (file)
@@ -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
 
 
 ## --------------- ##
This page took 0.037843 seconds and 5 git commands to generate.