+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 (¯o_define): Use $where when reporting an error,
?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; \
$(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
## --------------- ##