summaryrefslogtreecommitdiff
path: root/mk
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 /mk
parentb802bbad8dc2a401c131264cbd08620179f8999b (diff)
downloadhaskell-e295322d630f6023dc8f9c0208b6bcc540d0847a.tar.gz
Fix a problem with package.mk being included too early
Diffstat (limited to 'mk')
-rw-r--r--mk/target.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/target.mk b/mk/target.mk
index 8a9e5b5b43..8537b4f3d7 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -39,6 +39,13 @@
PRE_SRCS := $(ALL_SRCS)
+##################################################################
+# Include package building machinery
+# NB. needs to be after PRE_SRCS setting above, because otherwise the
+# rule dependencies won't be set correctly.
+
+include $(TOP)/mk/package.mk
+
###################################################################
# Suffix rules for Haskell, C and literate