Hack to make sure we get all the RTS ways in bindists
authorIan Lynagh <igloo@earth.li>
Wed, 24 Oct 2007 00:41:55 +0000 (00:41 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 24 Oct 2007 00:41:55 +0000 (00:41 +0000)
Makefile

index 287754a..e195f88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -302,7 +302,9 @@ binary-dist::
        $(MAKE) -C gmp       binary-dist DOING_BIN_DIST=YES
        $(MAKE) -C includes  binary-dist DOING_BIN_DIST=YES
        $(MAKE) -C compiler  binary-dist DOING_BIN_DIST=YES $(INSTALL_STAGE)
-       $(MAKE) -C rts       binary-dist DOING_BIN_DIST=YES
+       # Setting _way here is a nasty hack to make sure we get
+       # libHSrts*.a etc rather than just libHSrts.a
+       $(MAKE) -C rts       binary-dist DOING_BIN_DIST=YES _way='*'
        $(MAKE) -C driver    binary-dist DOING_BIN_DIST=YES
        $(MAKE) -C utils     binary-dist DOING_BIN_DIST=YES
        $(MAKE) -C docs      binary-dist DOING_BIN_DIST=YES