Fix bindist creation: Only the main RTS was being put in the bindists
[ghc-hetmet.git] / rts / Makefile
index ab5c6e7..f68e9a5 100644 (file)
@@ -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