#%Module 1.0
#
#  mcstas module for use with 'environment-modules' package:
# 
proc ModulesHelp { } {
        global version modroot

        puts stderr "\tmodules - loads the modules software & application environment"
        puts stderr "\n\tThis adds $modroot/* to several of the"
        puts stderr "\tenvironment variables."
        puts stderr "\n\tVersion $version\n"
}

module-whatis   "loads the mcstas environment"


# Define prefix so PATH and MANPATH can be updated.
setenv        MCXTRACE /usr/local/mcxtrace/1.2
setenv        MCXTRACE_TOOLS /usr/local/mcxtrace/1.2/mcxtrace-tools-perl-1.2
prepend-path  PATH          /usr/local/mcxtrace/1.2/bin
prepend-path  MANPATH       /usr/local/mcxtrace/1.2/doc/man

