#!/bin/sh
# -*-tcl-*- \
    exec cslush-tcl "$0" ${1+"$@"}

# Building a pkgIndex.tcl file for Thing is a bit tricky - the C package
#  needs the 'thingInit' procedure defined in the .tcl file.
# The auto load mechanism is used to make it available.
#
auto_mkindex . *.tcl
set env(TCLLIBPATH) ". $env(TCLLIBPATH)"
pkg_mkIndex . *.tcl *[info sharedlibextension]
file delete tclIndex
