diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-26 12:29:53 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-26 12:29:53 +0000 |
commit | e8842f6d21227fe800a495197be0d9f34aa862cc (patch) | |
tree | 34048ea795cf1b669cfdce797d581f6d2e02778d /ghc.mk | |
parent | b56947b36b22699a3912864c28b26c21a1c0c366 (diff) | |
download | haskell-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.mk | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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/) \ |