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:
655f2c7
)
[project @ 1997-09-04 20:23:17 by sof]
author
sof
<unknown>
Thu, 4 Sep 1997 20:23:17 +0000
(20:23 +0000)
committer
sof
<unknown>
Thu, 4 Sep 1997 20:23:17 +0000
(20:23 +0000)
Improved TAGS setup
ghc/compiler/Makefile
patch
|
blob
|
history
diff --git
a/ghc/compiler/Makefile
b/ghc/compiler/Makefile
index
dea140b
..
25460e3
100644
(file)
--- a/
ghc/compiler/Makefile
+++ b/
ghc/compiler/Makefile
@@
-361,10
+361,11
@@
MAINTAINER_CLEAN_FILES += $(wildcard */*.hc)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-# TAGS
+# TAGS setup
SRC_HSTAGS_OPTS += -fglasgow-exts -cpp
SRC_HSTAGS_OPTS += -fglasgow-exts -cpp
-
+TAGS_HS_SRCS=$(foreach dir,$(DIRS),$(wildcard $(dir)/*.lhs))
+TAGS_C_SRCS=$(strip $(foreach f,$(foreach dir,$(DIRS),$(wildcard $(dir)/*.c)),$(shell if [ -w $(f) ]; then echo $(f); else echo ''; fi)))
#-----------------------------------------------------------------------------
# Include target-rule boilerplate
#-----------------------------------------------------------------------------
# Include target-rule boilerplate