Differences From Artifact [aad8b8fa3a]:
- Executable file
common/post/sdk.sh
— part of check-in
[fe142d1843]
at
2011-11-14 07:10:04
on branch tcl-sdk-support
— Updated to include sub-directories from header files (for Win32 support)
Fixed issue with regexp used to replace refernces to -ltcl/-ltk for KitDLL SDK
Fixed issue with selecting library file on Win32
Updated to pull libraries from KitSH for KitDLL SDK to avoid picking wrong file if one is already in the current directory (user: rkeene, size: 2040) [annotate] [blame] [check-ins using] [more...]
To Artifact [3d73e37614]:
- Executable file common/post/sdk.sh — part of check-in [190f210e11] at 2011-11-16 18:13:58 on branch trunk — Updated to include sub-project licenses in SDK (user: rkeene, size: 2776) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | exit 0 fi rm -rf '__tmp__' mkdir '__tmp__' mkdir '__tmp__/include' mkdir '__tmp__/lib' cp 'tcl/inst/lib/tclConfig.sh' '__tmp__/lib/' cp -rp 'tcl/inst/include'/* '__tmp__/include/' cp 'tcl/inst/lib'/libtclstub* '__tmp__/lib/' if [ -f 'tk/inst/lib/tkConfig.sh' ]; then cp 'tk/inst/lib/tkConfig.sh' '__tmp__/lib/' cp -rp 'tk/inst/include'/* '__tmp__/include/' cp 'tk/inst/lib'/libtkstub* '__tmp__/lib/' fi cp 'kitsh/build'/kitsh-*/libtclkit* '__tmp__/lib/' ( cd '__tmp__/lib' || exit 1 for kitlibfile in libtclkit*.dll libtclkit*; do if [ ! -f "${kitlibfile}" ]; then continue | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | exit 0 fi rm -rf '__tmp__' mkdir '__tmp__' mkdir '__tmp__/include' mkdir '__tmp__/lib' mkdir '__tmp__/doc' cp 'tcl/inst/lib/tclConfig.sh' '__tmp__/lib/' cp -rp 'tcl/inst/include'/* '__tmp__/include/' cp 'tcl/inst/lib'/libtclstub* '__tmp__/lib/' if [ -f 'tk/inst/lib/tkConfig.sh' ]; then cp 'tk/inst/lib/tkConfig.sh' '__tmp__/lib/' cp -rp 'tk/inst/include'/* '__tmp__/include/' cp 'tk/inst/lib'/libtkstub* '__tmp__/lib/' fi cp 'kitsh/build'/kitsh-*/libtclkit* '__tmp__/lib/' for dir in */; do if [ ! -d "${dir}/build" ]; then continue fi project="$(basename "${dir}")" projdir="$(cd "${dir}/build"/* >/dev/null || exit; /bin/pwd)" docdir="__tmp__/doc/${project}" if [ ! -d "${projdir}" ]; then continue fi mkdir -p "${docdir}" case "${project}" in itcl|tcl|tk) cp "${projdir}/doc/license.terms" "${docdir}/" ;; tclvfs|kitsh|metakit|thread) cp "${projdir}/license.terms" "${docdir}/" ;; zlib) cp "${projdir}/README" "${docdir}/" ;; *) cp "${projdir}/README" "${projdir}/LICENSE" "${projdir}/doc/README" "${projdir}/doc/LICENSE" "${projdir}/license.terms" "${projdir}/doc/license.terms" "${docdir}/" >/dev/null 2>/dev/null ;; esac done ( cd '__tmp__/lib' || exit 1 for kitlibfile in libtclkit*.dll libtclkit*; do if [ ! -f "${kitlibfile}" ]; then continue |
︙ | ︙ | |||
71 72 73 74 75 76 77 | ) ( cd '__tmp__' || exit 1 mkdir "libtclkit-sdk-${TCLVERS}" | | | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | ) ( cd '__tmp__' || exit 1 mkdir "libtclkit-sdk-${TCLVERS}" mv 'lib' 'include' 'doc' "libtclkit-sdk-${TCLVERS}/" tar -cf - "libtclkit-sdk-${TCLVERS}" | gzip -9c > "../libtclkit-sdk-${TCLVERS}.tar.gz" ) rm -rf '__tmp__' exit 0 |