diff options
author | Miles Bader <miles@gnu.org> | 1995-08-28 13:59:47 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-08-28 13:59:47 +0000 |
commit | e8428c9ce27f4e8e6ef0967905e6e1c8738d349d (patch) | |
tree | 4545185a6ae63871d74769c15c2ebe41f4f3f56f /Makeconf | |
parent | 057ef3f74ac1a767557bf80ae6e94b0441a30f1e (diff) |
(TAGS): Automagically find all the files to scan from the dependency
information.
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -176,11 +176,11 @@ endif # TAGS files ifneq ($(dir),.) -TAGS: $(SRCS) $(LCLHDRS) $(OTHERTAGS) - etags -o $@ $(SRCS) $(LCLHDRS) $(OTHERTAGS) +DEP_SRCS=sed -e 's/^.*://' -e 's/ \\$$//' | tr ' ' '\012'| sed -n -e 's@^$(srcdir)@&@p' -e 's@^[^/]@&@p' | sort -u +TAGS: $(OBJS:.o=.d) $(OTHERTAGS) + cat $(OBJS:.o=.d) | $(DEP_SRCS) | etags -o $@ - $(OTHERTAGS) endif - # Cleaning ifeq ($(clean),yes) clean: |