summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-08 18:44:07 +0000
committerIan Lynagh <igloo@earth.li>2009-08-08 18:44:07 +0000
commitc56aacad40b7afc8244676a4de5fa976cfd4cfb7 (patch)
tree458b3e5892363353c1ec824cad35246fa9b330dc /ghc.mk
parent9ada85225b6ccd0665062b8fc7ec2e1b40b0dd18 (diff)
downloadhaskell-c56aacad40b7afc8244676a4de5fa976cfd4cfb7.tar.gz
Fix bindist creation
This is a bit kludgy. We've hit the maximum number of arguments you can have in the for loop for adding files to the bindist list, so this just splits the list in 2.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index f234f39ef3..7792b5abc0 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -781,7 +781,8 @@ install_packages: libffi/package.conf.install rts/package.conf.install
# -----------------------------------------------------------------------------
# Binary distributions
-$(eval $(call bindist,.,\
+# This is split in 2 because of the shell argument limit
+$(eval $(call bindist,root1,\
LICENSE \
configure config.sub config.guess install-sh \
extra-gcc-opts.in \
@@ -800,6 +801,8 @@ $(eval $(call bindist,.,\
$(INSTALL_BINS) \
$(INSTALL_DOCS) \
$(INSTALL_LIBRARY_DOCS) \
+ ))
+$(eval $(call bindist,root2,\
$(addsuffix /*,$(INSTALL_HTML_DOC_DIRS)) \
docs/index.html \
$(wildcard libraries/*/dist-install/doc/) \