18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
shift
mode="distclean"
fi
CONFIGUREEXTRA="$@"
export CONFIGUREEXTRA
failedpkgs=""
buildfailed="0"
for pkg in tcl tk itcl mk4tcl tclvfs zlib 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"
|
>
>
>
>
>
|
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
shift
mode="distclean"
fi
CONFIGUREEXTRA="$@"
export CONFIGUREEXTRA
# Add packages implied by the additional arguments
if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then
ADDPKGS="${ADDPKGS} thread"
fi
failedpkgs=""
buildfailed="0"
for pkg in tcl tk itcl mk4tcl tclvfs zlib ${ADDPKGS} 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"
|