summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-02-21 16:44:32 +0000
committerIan Lynagh <igloo@earth.li>2010-02-21 16:44:32 +0000
commit0ca48da78f669b18a574dc18e8b20b5393526b1d (patch)
tree282345821296e35bd931cd5d0812a895ab1931a0 /ghc.mk
parenta4c75d1d6c00a3ae71dd1f8b6b49c96dac641ee3 (diff)
downloadhaskell-0ca48da78f669b18a574dc18e8b20b5393526b1d.tar.gz
Make "make tags" work in the new build system
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index a5828a6703..768ff156a4 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -269,6 +269,7 @@ include rules/build-perl.mk
include rules/build-package.mk
include rules/build-package-way.mk
include rules/haddock.mk
+include rules/tags-package.mk
# -----------------------------------------------------------------------------
# Registering hand-written package descriptions (used in libffi and rts)
@@ -547,6 +548,7 @@ BUILD_DIRS += \
compiler \
$(GHC_HSC2HS_DIR) \
$(GHC_PKG_DIR) \
+ utils/ghctags \
utils/hpc \
utils/runghc \
ghc
@@ -597,6 +599,7 @@ ifneq "$(findstring $(phase),0 1 2 3)" ""
# In phases 0-3, we disable stage2-3, the full libraries and haddock
utils/haddock_dist_DISABLE = YES
utils/runghc_dist_DISABLE = YES
+utils/ghctags_dist_DISABLE = YES
utils/hpc_dist_DISABLE = YES
utils/hsc2hs_dist-install_DISABLE = YES
utils/ghc-pkg_dist-install_DISABLE = YES
@@ -745,6 +748,9 @@ libraries/ghc-prim/dist-install/build/autogen/GHC/PrimopWrappers.hs: \
| $$(dir $$@)/.
"$(GENPRIMOP_INPLACE)" --make-haskell-wrappers < $< > $@
+.PHONY: tags
+tags: tags_compiler
+
# -----------------------------------------------------------------------------
# Installation