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].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/bash

TCLVERS="8.4.19"
export TCLVERS

mode="build"
if [ "$1" = "clean" ]; then
	mode="clean"
fi
if [ "$1" = "distclean" ]; then
	mode="distclean"
fi

for pkg in tcl tk itcl mk4tcl tclvfs; 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"













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/bash

TCLVERS="8.4.19"
export TCLVERS

mode="build"
if [ "$1" = "clean" ]; then
	mode="clean"
fi
if [ "$1" = "distclean" ]; then
	mode="distclean"
fi

for pkg in tcl tk itcl mk4tcl tclvfs memchan 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"

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

40
41
42
43
44
45
46





47
48
49
50
51
52

53
54
55
56
	## Rename the "vfs" package directory to what "boot.tcl" expects
	mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'

	## Install "boot.tcl"
	cp 'boot.tcl' 'starpack.vfs/'

	# Intall VFS onto kit





	## Copy installed data for packages
	mkdir "installed-pkgs"
	cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/'

	## Call installer
	${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs


) || exit 1

exit 0







>
>
>
>
>
|
|
|

|
|
>




40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
	## Rename the "vfs" package directory to what "boot.tcl" expects
	mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'

	## Install "boot.tcl"
	cp 'boot.tcl' 'starpack.vfs/'

	# Intall VFS onto kit
	if echo 'exit 0' | tclkit >/dev/null 2>/dev/null; then
		## Install using existing Tclkit
		tclkit installvfs.tcl kit starpack.vfs
	else
		## Bootstrap
		### Copy installed data for packages
		mkdir "installed-pkgs"
		cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/'

		### Call installer
		${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs
	fi

) || exit 1

exit 0