#%Module1.0#####################################################################
##
## module-cvs modulefile
##
## @configure_input@
##
proc ModulesHelp { } {
	global version

	puts stderr "\tThis module will set up aliases and environment variables"
	puts stderr "\tfor easy check-out of the most recent version of the"
	puts stderr "\tenvironment modules package."
	puts stderr "\n\tFor CVS access - do the 'login' first then the 'get'"
	puts stderr "\twhen prompted for a password - just hit return"
	puts stderr "\n\tmodules-login		- login into the modules CVS"
	puts stderr "\t			  repository anonymously"
	puts stderr "\tmodules-get		- retrieve modules sources"
	puts stderr "\n\tVersion $version\n"
}

# for Tcl script use only
set     version      @VERSION@

module-whatis	"get most recent module sources from CVS"

set-alias modules-login "cvs -d:pserver:anonymous@modules.cvs.sourceforge.net:/cvsroot/modules login"

set-alias modules-get "cvs -z3 -d:pserver:anonymous@modules.cvs.sourceforge.net:/cvsroot/modules checkout -P modules"

if [ module-info mode load ] {
	ModulesHelp
}
