summaryrefslogtreecommitdiff
path: root/rules/bindist.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 /rules/bindist.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 'rules/bindist.mk')
-rw-r--r--rules/bindist.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/bindist.mk b/rules/bindist.mk
index d1b0403806..476202316d 100644
--- a/rules/bindist.mk
+++ b/rules/bindist.mk
@@ -16,13 +16,13 @@
# $(eval $(call bindist,utils/genapply,ghc.mk))
define bindist
-# $1 = dir
+# $1 = name
# $2 = files
.PHONY: bindist_$1
bindist: bindist_$1
bindist_$1:
- for f in $2; do echo $1/$(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
+ for f in $2; do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
endef