summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-07 18:52:32 +0000
committerIan Lynagh <igloo@earth.li>2008-09-07 18:52:32 +0000
commit5cb8bd3a80ce9a53e78d9f9773a4cf7797fefcf2 (patch)
tree7ca4bdff7a8ddd618e5a211668de6d42d3977a06 /compiler/Makefile
parentef2c2b9a7eec8c683961cda967f43cb9eaf0c23a (diff)
downloadhaskell-5cb8bd3a80ce9a53e78d9f9773a4cf7797fefcf2.tar.gz
bindist fixes
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 0c3dcd584c..8dced370b4 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -451,6 +451,14 @@ install-docs:
# binary-dist
#
+# Ideally we'd get these from the Cabal file's Install-Includes:
+BINDIST_EXTRAS += HsVersions.h
+ifeq "$(stage)" "1"
+BINDIST_EXTRAS += stage1/ghc_boot_platform.h
+else
+BINDIST_EXTRAS += stage2plus/ghc_boot_platform.h
+endif
+
include $(TOP)/mk/bindist.mk
LIB_DIST_DIR = dist-stage$(stage)