projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06a6a6f
)
[project @ 1997-09-04 19:48:49 by sof]
author
sof
<unknown>
Thu, 4 Sep 1997 19:48:49 +0000
(19:48 +0000)
committer
sof
<unknown>
Thu, 4 Sep 1997 19:48:49 +0000
(19:48 +0000)
Improved TAGS support
mk/target.mk
patch
|
blob
|
history
diff --git
a/mk/target.mk
b/mk/target.mk
index
fedcf8f
..
ac7b69f
100644
(file)
--- a/
mk/target.mk
+++ b/
mk/target.mk
@@
-817,11
+817,12
@@
TAGS:: $(SOURCES)
@$(RM) TAGS
@touch TAGS
ifneq "$(HS_SRCS)" ""
@$(RM) TAGS
@touch TAGS
ifneq "$(HS_SRCS)" ""
- $(HSTAGS) $(HSTAGS_OPTS) -- $(HS_SRCS)
+ $(HSTAGS) $(HSTAGS_OPTS) -- $(TAGS_HS_SRCS)
endif
ifneq "$(C_SRCS)" ""
endif
ifneq "$(C_SRCS)" ""
- etags -a $(C_SRCS)
+ etags -a $(TAGS_C_SRCS)
endif
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
#------------------------------------------------------------
# Makefile debugging