22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
+
+
+
-
+
+
|
mkdir 'out' 'inst' || exit 1
(
cp -r 'buildsrc' 'build'
cd "${BUILDDIR}" || exit 1
# Cleanup, just incase the incoming directory was not pre-cleaned
${MAKE:-make} distclean >/dev/null 2>/dev/null
# Compile all objects...
# Compile Kitsh
./configure --with-tcl="${TCLCONFIGDIR}"
${MAKE:-make} || exit 1
# Strip the kit of all symbols, if possible
strip kit >/dev/null 2>/dev/null
# Create VFS directory
mkdir "starpack.vfs"
mkdir "starpack.vfs/lib"
## Copy in all built directories
|