#!/bin/csh -f
wish << EOF
wm withdraw .
source mkindexList.tcl
set files [glob mxedit.{aliases,bindings,core,command,dirbrowser,emacs,file,global,local,menus,search,utils,tcl_ui,mh}]
foreach f {utils.tk colors.tk} {
    if [file exists \$f] {
	lappend files \$f
    }
}
catch {
    foreach f [glob *.tcl] {
	if [file exists \$f] {
	    lappend files \$f
	}
    }
}
auto_mkindex_from_list  . \$files
destroy .
EOF
