Posted to tcl by jima at Fri Sep 20 18:28:25 GMT 2013view pretty

LOCATIONS

/mnt/tisUtils
/mnt/tisUtils/tisUtils.tcl
/mnt/tisUtils/pkgIndex.tcl

/build/foo.tcl

/build/tisUtils/tisUtils.tcl
/build/tisUtils/pkgIndex.tcl
/build/tisUtils/configuration.tcl
/build/tisUtils/install.tcl

/build/tisMore/tisMore.tcl
/build/tisMore/pkgIndex.tcl
/build/tisMore/configuration.tcl
/build/tisMore/install.tcl

TCLLIBPATH

/mnt/tisUtils

FILES

At /build/tisUtils and /build/tisMore

configuration.tcl
    just make install.tcl point to /mnt/tisXXXX for copying files there
install.tcl
    copies tisXXX and pkgIndex in destination folder /mnt/tisXXX
    
install.tcl in tisMore does [package require tisUtils]
    
FOO
    
cd tisUtils
source install.tcl
    
cd ../tisMore
source install.tcl