Index: README ================================================================== --- README +++ README @@ -82,13 +82,13 @@ is: tk itcl mk4tcl If mk4tcl is not present a pure-Tcl implementation will be used instead. - 7. KITCREATOR_ALLENCODINGS + 7. KITCREATOR_MINENCODINGS Set this variable to a non-empty string to generate a Tclkit - with all encodings rather than the default 8: + without all encodings, only including the following: ascii.enc cp1252.enc iso8859-1.enc iso8859-15.enc iso8859-2.enc koi8-r.enc macRoman.enc ------------------- Method of Operation Index: tcl/build.sh ================================================================== --- tcl/build.sh +++ tcl/build.sh @@ -88,11 +88,11 @@ # Clean up packages that are not needed find "${OUTDIR}" -name "tcltest*" -type d | xargs rm -rf # Clean up encodings - if [ -z "${KITCREATOR_ALLENCODINGS}" ]; then + if [ -n "${KITCREATOR_MINENCODINGS}" ]; then KEEPENCODINGS=" ascii.enc cp1252.enc iso8859-1.enc iso8859-15.enc iso8859-2.enc koi8-r.enc macRoman.enc " export KEEPENCODINGS find "${OUTDIR}/lib" -name 'encoding' -type d | while read encdir; do ( cd "${encdir}" || exit 1