summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-06-20 12:22:24 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-06-20 12:22:24 +0000
commite295322d630f6023dc8f9c0208b6bcc540d0847a (patch)
tree5b8a5c7216d63672047ce9afa09d798e396e9e20 /rts/Makefile
parentb802bbad8dc2a401c131264cbd08620179f8999b (diff)
downloadhaskell-e295322d630f6023dc8f9c0208b6bcc540d0847a.tar.gz
Fix a problem with package.mk being included too early
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 7930fa75bb..cd96f7f813 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -387,8 +387,6 @@ ifneq "$(BootingFromHc)" "YES"
$(HC) $(HC_OPTS) -S $< -o $@
endif
-include $(TOP)/mk/package.mk
-
#-----------------------------------------------------------------------------
#
# Files to install
@@ -404,6 +402,8 @@ endif
#
# binary-dist
+include $(TOP)/mk/target.mk
+
binary-dist:
$(INSTALL_DIR) $(BIN_DIST_DIR)/rts
$(INSTALL_DIR) $(BIN_DIST_DIR)/rts/gmp
@@ -415,5 +415,3 @@ endif
ifneq "$(INSTALL_LIBEXECS)" ""
$(INSTALL_PROGRAM) $(INSTALL_LIBEXECS) $(BIN_DIST_DIR)/rts/
endif
-
-include $(TOP)/mk/target.mk