Skip to content

Commit

Permalink
[project @ 1997-09-04 19:48:49 by sof]
Browse files Browse the repository at this point in the history
Improved TAGS support
  • Loading branch information
sof committed Sep 4, 1997
1 parent 06a6a6f commit 37220f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mk/target.mk
Expand Up @@ -817,11 +817,12 @@ TAGS:: $(SOURCES)
@$(RM) TAGS
@touch TAGS
ifneq "$(HS_SRCS)" ""
$(HSTAGS) $(HSTAGS_OPTS) -- $(HS_SRCS)
$(HSTAGS) $(HSTAGS_OPTS) -- $(TAGS_HS_SRCS)
endif
ifneq "$(C_SRCS)" ""
etags -a $(C_SRCS)
etags -a $(TAGS_C_SRCS)
endif
@( DEREFFED=`ls -l Makefile | sed -e 's/.*-> \(.*\)/\1/g'` && $(RM) `dirname $$DEREFFED`/TAGS && $(CP) TAGS `dirname $$DEREFFED` ) || echo TAGS file generated, perhaps copy over to source tree?

#------------------------------------------------------------
# Makefile debugging
Expand Down

0 comments on commit 37220f0

Please sign in to comment.