summaryrefslogtreecommitdiff
path: root/rules/build-perl.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-15 23:19:27 +0000
committerIan Lynagh <igloo@earth.li>2011-01-15 23:19:27 +0000
commita3be88fd60cc63b97ec8509f46a8d93025760792 (patch)
treeeb73ab10e25592144b88a4dc80edd99adc18ea40 /rules/build-perl.mk
parent18fe16c9d3468c818d4fd650f47cfd6971e578b5 (diff)
downloadhaskell-a3be88fd60cc63b97ec8509f46a8d93025760792.tar.gz
Build system improvements
We no longer use dummy-ghc; instead we don't configure most packages until the stage1 compiler is available. We also now use Cabal for building the ghc-bin package. There are a couple more sanity checks too.
Diffstat (limited to 'rules/build-perl.mk')
-rw-r--r--rules/build-perl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk
index e13185d85d..c232193478 100644
--- a/rules/build-perl.mk
+++ b/rules/build-perl.mk
@@ -29,7 +29,9 @@ else
$1_$2_INPLACE = $$(INPLACE_BIN)/$$($1_$2_PROG)
endif
+ifeq "$$(phase_1_or_later)" "YES"
$(call all-target,$1_$2,$$($1_$2_INPLACE))
+endif
$(call clean-target,$1,$2,$1/$2 $$($1_$2_INPLACE))
.PHONY: clean_$1