summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-26 12:29:53 +0000
committerIan Lynagh <igloo@earth.li>2009-08-26 12:29:53 +0000
commite8842f6d21227fe800a495197be0d9f34aa862cc (patch)
tree34048ea795cf1b669cfdce797d581f6d2e02778d /ghc.mk
parentb56947b36b22699a3912864c28b26c21a1c0c366 (diff)
downloadhaskell-e8842f6d21227fe800a495197be0d9f34aa862cc.tar.gz
Fix bindist creation
We were running into problems like: for f in LICENSE configure config.sub config.guess [...] make[2]: execvp: /bin/sh: Argument list too long This patch moves the loop into make, rather than the shell.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/ghc.mk b/ghc.mk
index 066d1b686a..0f479e1b40 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -805,8 +805,7 @@ install_packages: libffi/package.conf.install rts/package.conf.install
# -----------------------------------------------------------------------------
# Binary distributions
-# This is split in 2 because of the shell argument limit
-$(eval $(call bindist,root1,\
+$(eval $(call bindist,.,\
LICENSE \
configure config.sub config.guess install-sh \
extra-gcc-opts.in \
@@ -827,8 +826,6 @@ $(eval $(call bindist,root1,\
$(INSTALL_BINS) \
$(INSTALL_DOCS) \
$(INSTALL_LIBRARY_DOCS) \
- ))
-$(eval $(call bindist,root2,\
$(addsuffix /*,$(INSTALL_HTML_DOC_DIRS)) \
docs/index.html \
$(wildcard libraries/*/dist-install/doc/) \