summaryrefslogtreecommitdiff
path: root/ghc/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-17 15:04:53 +0000
committerIan Lynagh <igloo@earth.li>2008-07-17 15:04:53 +0000
commitbcbd8d8e5f42e11c68d36c601233b37afb2b11be (patch)
tree43987b29eb88405168c31a365a1cb3e29b4370c9 /ghc/Makefile
parentd06b357cda38dc4ba0a639e455771ab8ecb498b2 (diff)
downloadhaskell-bcbd8d8e5f42e11c68d36c601233b37afb2b11be.tar.gz
Install the compiler during make install
For now we always install stage 2
Diffstat (limited to 'ghc/Makefile')
-rw-r--r--ghc/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/ghc/Makefile b/ghc/Makefile
index 4bf9ac9a7d..4b3e05cfb5 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -94,6 +94,15 @@ build.stage.%:
--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