From 5cb8bd3a80ce9a53e78d9f9773a4cf7797fefcf2 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 7 Sep 2008 18:52:32 +0000 Subject: [PATCH] bindist fixes --- compiler/Makefile | 8 ++++++++ docs/storage-mgt/Makefile | 1 + 2 files changed, 9 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index 0c3dcd5..8dced37 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) diff --git a/docs/storage-mgt/Makefile b/docs/storage-mgt/Makefile index 0ef3037..c912692 100644 --- a/docs/storage-mgt/Makefile +++ b/docs/storage-mgt/Makefile @@ -1,4 +1,5 @@ TOP = ../.. +include $(TOP)/mk/boilerplate.mk # General makefile for Latex stuff -- 1.7.10.4