summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-06 14:25:46 +0000
committerIan Lynagh <igloo@earth.li>2008-09-06 14:25:46 +0000
commit0fd755820053238e8f739356e8ff6420f87119f4 (patch)
tree810343202b0994a0bf53310534189eb04af406d6 /compiler/Makefile
parent0db68e1cf9b83d2d18ba427ec28712de4c9a043f (diff)
downloadhaskell-0fd755820053238e8f739356e8ff6420f87119f4.tar.gz
Install the stage 2 ghc package when installing; fixes trac #2567
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 65207c7dbc..0c3dcd584c 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -193,9 +193,8 @@ doc.stage.%:
--haddock-option=--optghc=-DSTAGE=$* \
--with-haddock=$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace/bin/haddock
-# XXX We ought to actually install the (stage 2) library
install:
- @:
+ $(INSTALL_PACKAGE) install '$(GHC_PKG_INSTALL_PROG)' '$(DESTDIR)$(datadir)/package.conf' '$(DESTDIR)' '$(prefix)' '$(iprefix)' '$(ibindir)' '$(ilibdir)' '$(ilibexecdir)' '$(idynlibdir)' '$(idatadir)' '$(idocdir)' '$(ihtmldir)' '$(ihaddockdir)' --distpref dist-stage2
# -----------------------------------------------------------------------------
# Create compiler configuration