(TAGS): Put DEPFILES back and add as a dependency.

This commit is contained in:
Nick Roberts 2005-09-28 02:55:41 +00:00
parent 5e58133c13
commit bd31016f96
1 changed files with 2 additions and 2 deletions

View File

@ -1227,12 +1227,12 @@ gdb1$(EXEEXT): gdb$(EXEEXT)
# TAGS depends on all the files that go into it so you can rebuild TAGS
# with `make TAGS' and not have to say `rm TAGS' first.
TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
TAGS: $(DEPFILES) $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
@echo Making TAGS
@etags $(srcdir)/$(DEPRECATED_TM_FILE) \
$(srcdir)/$(XM_FILE) \
$(srcdir)/$(NAT_FILE) \
`(for i in $(TAGFILES_NO_SRCDIR); do \
`(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
echo $(srcdir)/$$i ; \
done ; for i in $(TAGFILES_WITH_SRCDIR); do \
echo $$i ; \