summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-10-09 16:34:51 +0000
committerIan Lynagh <igloo@earth.li>2008-10-09 16:34:51 +0000
commitbad6e5e640ef86163afeace84628bde1e0716c74 (patch)
treed41c2b05984ebd1adba288c0b147d7d874d2bee1 /rts/Makefile
parent02ca3a08b287f2efcfddb46e8cd1eca5eccf68a2 (diff)
downloadhaskell-bad6e5e640ef86163afeace84628bde1e0716c74.tar.gz
Fix bindist creation: Only the main RTS was being put in the bindists
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/rts/Makefile b/rts/Makefile
index ab5c6e7370..f68e9a5179 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -27,8 +27,7 @@ HC=$(GHC_INPLACE)
# Setting _way here is a nasty hack to make sure we get libHSrts*.a etc
-# rather than just libHSrts.a when we are making and installing
-# bindists.
+# rather than just libHSrts.a when we are installing bindists.
ifeq "$(DOING_BIN_DIST)" "YES"
_way = *
endif
@@ -470,5 +469,10 @@ endif
BINDIST_EXTRAS += package.conf.in
BINDIST_EXTRAS += $(INSTALL_LIBS)
BINDIST_EXTRAS += $(INSTALL_LIBEXECS)
+
+# Setting _way here is a nasty hack to make sure we get libHSrts*.a etc
+# rather than just libHSrts.a when we are making bindists.
+binary-dist: _way=*
+
include $(TOP)/mk/bindist.mk