Install the compiler during make install
authorIan Lynagh <igloo@earth.li>
Thu, 17 Jul 2008 15:04:53 +0000 (15:04 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 17 Jul 2008 15:04:53 +0000 (15:04 +0000)
For now we always install stage 2

ghc/Makefile

index 4bf9ac9..4b3e05c 100644 (file)
@@ -94,6 +94,15 @@ build.stage.%:
                           --distpref dist-stage$* \
                           $(INSTALL_FLAGS)
 
                           --distpref dist-stage$* \
                           $(INSTALL_FLAGS)
 
+# XXX For now we always install the stage 2 compiler
+install:
+       $(INSTALL_PACKAGE) install UNUSED UNUSED '$(DESTDIR)' '$(prefix)' \
+                          '$(prefix)' '$(bindir)' '$(libdir)'            \
+                       '$(libexecdir)' '$(dynlibdir)' '$(datadir)'    \
+                       '$(docdir)' '$(htmldir)' '$(haddockdir)'       \
+                          --distpref dist-stage2                         \
+                          $(INSTALL_FLAGS)
+
 # XXX fix:
 #binary-dist:
 #      $(INSTALL_DIR)                      $(BIN_DIST_DIR)/utils/hsc2hs
 # XXX fix:
 #binary-dist:
 #      $(INSTALL_DIR)                      $(BIN_DIST_DIR)/utils/hsc2hs