From e8428c9ce27f4e8e6ef0967905e6e1c8738d349d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 28 Aug 1995 13:59:47 +0000 Subject: (TAGS): Automagically find all the files to scan from the dependency information. --- Makeconf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index ea206fcd..f9edf1d5 100644 --- a/Makeconf +++ b/Makeconf @@ -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: -- cgit v1.2.3