Check-in [74dad5670f]
Overview
Comment:Updated to use existing Tclkit if found for final step

Updated to build all pieces needed for a tclkit

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:74dad5670fa953a88028aeeb0554984c523c8de1
User & Date: rkeene on 2010-09-26 04:37:16
Other Links: manifest | tags
Context
2010-09-26
04:37
Corrected typo check-in: db6bac1cb3 user: rkeene tags: trunk
04:37
Updated to use existing Tclkit if found for final step

Updated to build all pieces needed for a tclkit check-in: 74dad5670f user: rkeene tags: trunk

04:37
Added kitsh code check-in: 9315fecb01 user: rkeene tags: trunk
Changes

Modified kitcreator from [1a40192358] to [5b2def5433].

     7      7   if [ "$1" = "clean" ]; then
     8      8   	mode="clean"
     9      9   fi
    10     10   if [ "$1" = "distclean" ]; then
    11     11   	mode="distclean"
    12     12   fi
    13     13   
    14         -for pkg in tcl tk itcl mk4tcl tclvfs; do
           14  +for pkg in tcl tk itcl mk4tcl tclvfs memchan kitsh; do
    15     15   	if [ "${mode}" = "distclean" ]; then
    16     16   		rm -rf "${pkg}/src"
    17     17   	fi
    18     18   
    19     19   	if [ "${mode}" = "clean" -o "${mode}" = "distclean" ]; then
    20     20   		rm -f "${pkg}/build.log"
    21     21   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"

Modified kitsh/build.sh from [daa9b2e9bc] to [f1a428a7f8].

    40     40   	## Rename the "vfs" package directory to what "boot.tcl" expects
    41     41   	mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
    42     42   
    43     43   	## Install "boot.tcl"
    44     44   	cp 'boot.tcl' 'starpack.vfs/'
    45     45   
    46     46   	# Intall VFS onto kit
    47         -	## Copy installed data for packages
    48         -	mkdir "installed-pkgs"
    49         -	cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/'
           47  +	if echo 'exit 0' | tclkit >/dev/null 2>/dev/null; then
           48  +		## Install using existing Tclkit
           49  +		tclkit installvfs.tcl kit starpack.vfs
           50  +	else
           51  +		## Bootstrap
           52  +		### Copy installed data for packages
           53  +		mkdir "installed-pkgs"
           54  +		cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/'
    50     55   
    51         -	## Call installer
    52         -	${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs
           56  +		### Call installer
           57  +		${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs
           58  +	fi
    53     59   
    54     60   ) || exit 1
    55     61   
    56     62   exit 0