Fix bindist creation: Only the main RTS was being put in the bindists
authorIan Lynagh <igloo@earth.li>
Thu, 9 Oct 2008 16:34:51 +0000 (16:34 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 9 Oct 2008 16:34:51 +0000 (16:34 +0000)
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
 
 
 # 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
 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)
 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
 
 include $(TOP)/mk/bindist.mk