- $(FPTOOLS_TOP_ABS)/ghc/stage2-inplace \
- $(FPTOOLS_TOP_ABS)/ghc/stage2-inplace \
- '$$prefix/bin' \
- '$$prefix/lib' \
- '$$prefix/libexec' \
- '$$prefix/dynlib' \
- $(INPLACE_DATA_DIR) \
- '$$prefix/doc' \
- '$$prefix/html' \
- '$$prefix/haddock' \
- --distpref dist-stage2 \
+ $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \
+ $(FPTOOLS_TOP_ABS)/ghc/stage$*-inplace \
+ '$$prefix' \
+ '$(INPLACE_DATA_DIR)' \
+ '$$prefix/libexec' \
+ '$$prefix/dynlib' \
+ '$(INPLACE_DATA_DIR)' \
+ '$$prefix/doc' \
+ '$$prefix/html' \
+ '$$prefix/haddock' \
+ --distpref dist-stage$* \
+ $(INPLACE_INSTALL_FLAGS) \
+ $(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 \