This works around the two filenames being the same on case-insensitive
file systems.
.PHONY: tags
tags: tags_compiler
+.PHONY: TAGS
+TAGS: TAGS_compiler
+
# -----------------------------------------------------------------------------
# Installation
.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)
endef