summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-02-07 14:20:46 +0000
committerIan Lynagh <igloo@earth.li>2011-02-07 14:20:46 +0000
commit6f573eb5dedb0625d1df9a6fdf9839bcaa9cba8e (patch)
tree0e231893525f4db5d4672044fdfdb650722ccfb5 /rules/build-package.mk
parentc21f0768fcaa95720e22ed5d7814b398645f6c17 (diff)
downloadhaskell-6f573eb5dedb0625d1df9a6fdf9839bcaa9cba8e.tar.gz
Call the final build system phase "final" rather than ""
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index 74ffbbd925..ac0a8eebce 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -82,7 +82,7 @@ $(call build-package-data,$1,$2,$3)
ifneq "$$(NO_INCLUDE_PKGDATA)" "YES"
ifeq "$3" "0"
include $1/$2/package-data.mk
-else ifeq "$(phase)" ""
+else ifeq "$(phase)" "final"
include $1/$2/package-data.mk
endif
endif
@@ -109,7 +109,7 @@ ifneq "$(phase)" "0"
# bootstrapping stuff
ifeq "$3" "0"
$(call include-dependencies,$1,$2,$3)
-else ifeq "$(phase)" ""
+else ifeq "$(phase)" "final"
# In the final phase, we also include the dependency files for
# everything else
$(call include-dependencies,$1,$2,$3)