projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ghc-pkg: report parser warnings when registering packages
[ghc-hetmet.git]
/
rules
/
tags-package.mk
diff --git
a/rules/tags-package.mk
b/rules/tags-package.mk
index
e5d572d
..
e72ffb7
100644
(file)
--- a/
rules/tags-package.mk
+++ b/
rules/tags-package.mk
@@
-18,12
+18,19
@@
# Uses the same metadata as build-package.
define tags-package
# Uses the same metadata as build-package.
define tags-package
+$(call trace, tags-package($1,$2))
+$(call profStart, tags-package($1,$2))
# $1 = dir
# $2 = distdir
.PHONY: tags_$1
tags_$1:
# $1 = dir
# $2 = distdir
.PHONY: tags_$1
tags_$1:
- inplace/bin/ghctags --topdir $$(TOP)/inplace/lib -b --use-cabal-config $1/$2 -- $$($1_$2_TAGS_HC_OPTS) $$($1_$2_v_ALL_HC_OPTS) -- $$($1_$2_HS_SRCS)
+ inplace/bin/ghctags --topdir $$(TOP)/inplace/lib -c --use-cabal-config $1/$2 -- $$($1_$2_TAGS_HC_OPTS) $$($1_$2_v_ALL_HC_OPTS) -- $$($1_$2_HS_SRCS)
+.PHONY: TAGS_$1
+TAGS_$1:
+ inplace/bin/ghctags --topdir $$(TOP)/inplace/lib -e --use-cabal-config $1/$2 -- $$($1_$2_TAGS_HC_OPTS) $$($1_$2_v_ALL_HC_OPTS) -- $$($1_$2_HS_SRCS)
+
+$(call profEnd, tags-package($1,$2))
endef
endef