Hack to make sure we get all the RTS ways in bindists
[ghc-hetmet.git] / 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