# HG changeset patch # User "Yann E. MORIN" # Date 1213567365 0 # Node ID 30fbb26a83b48a090617dd45c213291684148839 # Parent 27d28e055f9431688ce3aa13a0df959c71bfff9f Some makeinfo versions are a pain in [somewhere very painful]. Work this around with a wrapper that always succeeds, and leave incomplete files in place. /trunk/scripts/crosstool.sh | 7 7 0 0 +++++++ 1 file changed, 7 insertions(+) diff -r 27d28e055f94 -r 30fbb26a83b4 scripts/crosstool.sh --- a/scripts/crosstool.sh Sun Jun 15 20:51:37 2008 +0000 +++ b/scripts/crosstool.sh Sun Jun 15 22:02:45 2008 +0000 @@ -402,6 +402,12 @@ fi |CT_DoLog DEBUG done + # Some makeinfo versions are a pain in [put your most sensible body part here]. + # Go ahead with those, by creating a wrapper that keeps partial files, and that + # never fails: + echo -e "#!/bin/sh\n$(CT_Which makeinfo) --force \"\${@}\"\ntrue" >"${CT_PREFIX_DIR}/bin/makeinfo" + chmod 700 "${CT_PREFIX_DIR}/bin/makeinfo" + # Help gcc CT_CFLAGS_FOR_HOST= [ "${CT_USE_PIPES}" = "y" ] && CT_CFLAGS_FOR_HOST="${CT_CFLAGS_FOR_HOST} -pipe" @@ -502,6 +508,7 @@ find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \; |CT_DoLog DEBUG + rm -fv "${CT_PREFIX_DIR}/bin/makeinfo" |CT_DoLog DEBUG # Install the /populator/ CT_DoLog EXTRA "Installing the populate helper"