diff options
author | Ian Lynagh <igloo@earth.li> | 2011-02-07 14:20:46 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-02-07 14:20:46 +0000 |
commit | 6f573eb5dedb0625d1df9a6fdf9839bcaa9cba8e (patch) | |
tree | 0e231893525f4db5d4672044fdfdb650722ccfb5 /ghc.mk | |
parent | c21f0768fcaa95720e22ed5d7814b398645f6c17 (diff) | |
download | haskell-6f573eb5dedb0625d1df9a6fdf9839bcaa9cba8e.tar.gz |
Call the final build system phase "final" rather than ""
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -136,6 +136,10 @@ $(error $$(GhcLibWays) is empty, it must contain at least one way) endif endif +ifeq "$(phase)" "" +phase = final +endif + # ----------------------------------------------------------------------------- # Utility definitions @@ -507,7 +511,7 @@ endif # ---------------------------------------------- # Checking packages with 'cabal check' -ifeq "$(phase)" "" +ifeq "$(phase)" "final" ifeq "$(CHECK_PACKAGES)" "YES" all: check_packages endif @@ -644,7 +648,7 @@ $(foreach p,$(STAGE0_PACKAGES),$(eval libraries/$p_dist-boot_DO_HADDOCK = NO)) ifeq "$(HADDOCK_DOCS)" "YES" libraries/index.html: inplace/bin/haddock$(exeext) $(ALL_HADDOCK_FILES) cd libraries && sh gen_contents_index --inplace -ifeq "$(phase)" "" +ifeq "$(phase)" "final" $(eval $(call all-target,library_doc_index,libraries/index.html)) endif INSTALL_LIBRARY_DOCS += libraries/*.html libraries/*.gif libraries/*.css libraries/*.js |