summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-24 12:09:40 +0000
committerIan Lynagh <igloo@earth.li>2008-09-24 12:09:40 +0000
commit11b059fe35fe7bdcf43d4ce3246d0b9ae1671391 (patch)
treee0af19fee0e28447af288f961330a6d2fd8814e4 /mk
parent64137b1730defb4cb5ed95c54eec26014ee0fb27 (diff)
downloadhaskell-11b059fe35fe7bdcf43d4ce3246d0b9ae1671391.tar.gz
Add $(strip) to a Makefile test
Fixes making bindists on solaris. Patch from Christian Maeder.
Diffstat (limited to 'mk')
-rw-r--r--mk/bindist.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/bindist.mk b/mk/bindist.mk
index d84abcf7dc..23990b9a7e 100644
--- a/mk/bindist.mk
+++ b/mk/bindist.mk
@@ -34,7 +34,7 @@ endif
find . -name "*.gif" -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null
find . -name "*.js" -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null
# And anything else
-ifneq "$(BINDIST_EXTRAS)" ""
+ifneq "$(strip $(BINDIST_EXTRAS))" ""
for FILE in $(BINDIST_EXTRAS); do if [ -f $$FILE ]; then echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); fi; done
endif