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:
d62e0e3
)
updates to ghctags code
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 5 Nov 2007 16:39:27 +0000
(16:39 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 5 Nov 2007 16:39:27 +0000
(16:39 +0000)
compiler/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
414b355
..
de9c979
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-929,7
+929,7
@@
WRONG_GHCTAGS_HS_SRCS = $(filter-out $(DERIVED_SRCS) main/Config.hs parser/Parse
GHCTAGS_HS_SRCS = $(HS_SRCS)
GHCTAGS_HC_OPTS = $(patsubst -i$(odir)/%, -i%, $(HC_OPTS))
GHCTAGS_HS_SRCS = $(HS_SRCS)
GHCTAGS_HC_OPTS = $(patsubst -i$(odir)/%, -i%, $(HC_OPTS))
-
+GHCTAGS_HC_OPTS += -DSTAGE='"$(stage)"'
#------------------------------------------------------------
# Tags
#------------------------------------------------------------
# Tags
@@
-943,8
+943,8
@@
ghctags :: $(GHCTAGS_HS_SRCS) $(TAGS_C_SRCS)
@echo SOURCES ARE "$(GHCTAGS_HS_SRCS)"
: ifneq "$(GHCTAGS_HS_SRCS)" ""
@echo TIME TO ROCK AND ROLL
@echo SOURCES ARE "$(GHCTAGS_HS_SRCS)"
: ifneq "$(GHCTAGS_HS_SRCS)" ""
@echo TIME TO ROCK AND ROLL
- # $(GHCTAGS) -- $(MKDEPENDHS_OPTS) $(filter-out -split-objs, $(MKDEPENDHS_HC_OPTS)) -- $(GHCTAGS_HS_SRCS)
- $(GHCTAGS) -- $(GHCTAGS_HC_OPTS) -- $(GHCTAGS_HS_SRCS)
+ # $(GHCTAGS_INPLACE) -- $(MKDEPENDHS_OPTS) $(filter-out -split-objs, $(MKDEPENDHS_HC_OPTS)) -- $(GHCTAGS_HS_SRCS)
+ $(GHCTAGS_INPLACE) -- $(GHCTAGS_HC_OPTS) -- $(GHCTAGS_HS_SRCS)
: endif
ifneq "$(TAGS_C_SRCS)" ""
etags -a $(TAGS_C_SRCS)
: endif
ifneq "$(TAGS_C_SRCS)" ""
etags -a $(TAGS_C_SRCS)