diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-21 22:35:37 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-21 22:35:37 +0000 |
commit | cd134d6eb8e21d85e2340d2eb6177d5b6139aff8 (patch) | |
tree | de166dfccecd2e88fe315b050b308a3da3a3c11f /mk | |
parent | e2d0e6bd26a4cd2bf0716f33f4c79cfcf2939097 (diff) | |
download | haskell-cd134d6eb8e21d85e2340d2eb6177d5b6139aff8.tar.gz |
Fix making bindists
We were looking for executable things, but not requiring that they were
files. So we were adding lots of directories (and thus their contents)
to the bindists, massively inflating their size.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bindist.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/bindist.mk b/mk/bindist.mk index 2ab0259d67..00421cda72 100644 --- a/mk/bindist.mk +++ b/mk/bindist.mk @@ -22,7 +22,7 @@ binary-dist: # Executables -find . -name "*.wrapper" -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null -find $(EXE_DIST_DIR)/setup-config -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null - -find $(EXE_DIST_DIR) -perm /a+x -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null + -find $(EXE_DIST_DIR) -type f -perm /a+x -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null # And anything else ifneq "$(BINDIST_EXTRAS)" "" for FILE in $(BINDIST_EXTRAS); do if [ -e $$FILE ]; then echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); fi; done |