Differences From Artifact [fcb2d0c6dc]:
- Executable file
kitcreator
— part of check-in
[e062ee58fc]
at
2010-09-26 04:37:30
on branch trunk
— Updated to give warnings when required packages failed to build
Updated to copy built Tclkit to current directory (user: rkeene, size: 1126) [annotate] [blame] [check-ins using]
To Artifact [bee88e3dbf]:
- Executable file kitcreator — part of check-in [a1e041469d] at 2010-09-26 04:37:40 on branch trunk — Moved kitcreator to its own project (user: rkeene, size: 1176) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
9 10 11 12 13 14 15 | fi if [ "$1" = "distclean" ]; then mode="distclean" fi failedpkgs="" buildfailed="0" | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
fi
if [ "$1" = "distclean" ]; then
mode="distclean"
fi
failedpkgs=""
buildfailed="0"
for pkg in tcl tk itcl mk4tcl tclvfs kitsh; do
if [ "${mode}" = "distclean" ]; then
rm -rf "${pkg}/src"
fi
if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
rm -f "${pkg}/build.log"
rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"
|
| ︙ | ︙ | |||
37 38 39 40 41 42 43 |
fi
case "${pkg}" in
tcl)
TCLCONFIGDIR=$(find "$(pwd)/tcl/build" -name tclConfig.sh | head -1 | sed 's@/[^/]*$@@')
export TCLCONFIGDIR
;;
| < < < > > > > > > | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
fi
case "${pkg}" in
tcl)
TCLCONFIGDIR=$(find "$(pwd)/tcl/build" -name tclConfig.sh | head -1 | sed 's@/[^/]*$@@')
export TCLCONFIGDIR
;;
esac
if [ "${failed}" = "1" ]; then
buildfailed="1"
fi
done
if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
rm -f tclkit-*
exit 0
fi
if [ -n "${failedpkgs}" ]; then
echo "Failed to build:${failedpkgs}"
fi
if [ "${buildfailed}" != "0" ]; then
echo 'WARNING: Build is likely incomplete or failed.' >&2
fi
cp 'kitsh/build'/kitsh-*/kit "tclkit-${TCLVERS}"
exit "${buildfailed}"
|